On 6 nov, 09:10, palgo wrote:
> So I tried your concept for the values passed to GET as well, and got
> this (which seems to work correcly):
>
> $(".A, .B").keyup(function(event){
> $.get("script.php", { a: $(event.target).closest("tr").find
> ("input.A").val(), b: $(event.target)
If you do have a direct link to a tutorial/article/documentation of
how you avoid page reloads/refresh with JQ (or any other AJAX lib) in
typo3 Front-end sites, please do share it !
mhh .. yeah well, GIYF and RTFM ...
would it really have taken you that much more time to answer the
question instead of lecturing me ? in any case thx for taking the time
to respond ...
i did google my fingers bloody on this issue and read a variety of
manuals of several JS libraries, however i'
syntax error
A
A
on page load function
var obj = $(".button");
obj.each(function(i) {
if(obj.eq(i).hasClass('buttona')) {
obj.eq(i).click(function() {
alert(' I am button A ' );
});
}
});
On Fri, Nov 6, 2009 at 11:40 AM, waseem sabjee wrote:
> markup
>
> A
> A
>
> on page load functi
markup
A
A
on page load function
var obj = $(".button");
obj.each(function(i) {
if(obj.eq(i).hasClass('buttona') {
obj.eq(i).click(function() {
alert(' I am button A ' );
});
}
});
does this work better for you ?
On Fri, Nov 6, 2009 at 11:34 AM, aze wrote:
> Thanks for the reply
>
I'm using Superfish (vertical) with 2 menu levels - main level and the
first sublevel. Everything's working fine so far. When the first
submenu is configured via CSS to overlap the main level (left-margin
of submenu smaller than width of mainmenu) some errors occure in IE -
it's impossible to navig
Well, I guess you've got a pretty good case of "I should report this to the
developers of the plugin I'm using cause it's obviously a bug" then.
Michel Belleville
2009/11/6 Khimaira
> I know ie doesn't accept those, but that can't be the problem, since i
> have tried to delete everything from
Thanks for the reply
but as you can see I need to do initialize something and then hook the
click event. The html markup is like this
then after page load, script will execute as follow
$(".btnA").btnInit("Button A", function () { do some action 1 });
$(".btnB").btnInit("Button B", function (
lets assume the following markup
a button |
a button |
a button |
a button
you want to be able to differentiate between the buttons on click event
var obj = $(".button");
obj.click(function(e) {
e.preventDefault();
var index = obj.index($(this));
alert("my button index is "+index);
});
this
ops typo error the plugin is like this
(function($){
$.fn.btnInit = function() {
function prepare(obj, caption, action) {
obj
.html(caption)
.addClass("fg-button ui-state-default ui-corner-all")
.click(function(){
// run the action here when click tr
Hello,
I need help.
I have thjis plugin
(function($){
$.fn.btnInit = function() {
function prepare(obj, caption, action) {
obj
.html(caption)
.addClass("fg-button ui-state-default ui-corner-all")
.click(function(){
// run the action here when click
I know ie doesn't accept those, but that can't be the problem, since i
have tried to delete everything from it except for the message:
parent.parent.$.blockUI({ message: $
("#fileConf") });
yet ie gives me the same error...
I concur. Recent stats have put IE 5.5 usage at less than 0.1 % of web traffic.
That is a tremendous minority to worry about.
From: Michel Belleville [mailto:michel.bellevi...@gmail.com]
Sent: Thursday, November 05, 2009 11:27 PM
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] suppor
Hi again,
I didn't get an answer for my question, and I was wondering if I
didn't explain myself properly or if it is that has no solution or
it's too complicated.
Please guide me here, I need to solve the problem asap :(
Thanks once again!
Just tested this. What I found is that your last line helps to fill in
correct C for the first row, but if I fill in A and B for the second
row, it doesn't give any output to C in the same row. I think the
script gets confused which A and B (in row1 or row2) to get the values
from.
So I tried your
Thanks very much
That has fixed that bug, silly mistake to make!!
The navigation still does not work however :-( i.e. if I go to
http://www.paulbraham.com/test_site/index.html#2 it should open on the
second panel and if I go to http://www.paulbraham.com/test_site/index.html#3
it should open on t
16 matches
Mail list logo