Re: [jQuery] click(function{ problem with Firefox

2009-12-24 Thread Leonardo K
The firefox doesn`t allow you to have a div inside a label. Checkout the firebug and see how the firefox close de label tag before your div. So your label will be empty. On Thu, Dec 24, 2009 at 14:12, turnavies wrote: > Hi, > > I'm working on a login system in CodeIgniter, where you select your >

[jQuery] click(function{ problem with Firefox

2009-12-24 Thread turnavies
Hi, I'm working on a login system in CodeIgniter, where you select your avatar and enter your password to login. I've accomplished this by attaching labels containing the avatar to hidden radio buttons. If you click on one of the avatars, the following jQuery script, that I call on document.ready

[jQuery] click function populating value in a hidden field

2009-10-01 Thread Chuk
Hi. I have a table set up with a .click() function on each row so that if it is clicked on, a class is added to the row thus changing the background, etc. I was wondering if there was is a way to take the id of the row that was clicked and populate a hidden field with it. What would I need to i

[jQuery] Re: jQuery - Click function + Ajax

2009-07-02 Thread Glazz
Off course, i forgot that hehe it is working great right now ;) About that, i really don't know, sometimes i need to use it this way, but you can try to validate using W3C tools On 2 Jul, 17:55, John Newman wrote: > You can't have 2 elements with the same id on the same page.  Instead > do wou

[jQuery] Re: jQuery - Click function + Ajax

2009-07-02 Thread John Newman
You can't have 2 elements with the same id on the same page. Instead do isn't that invalid html and rejected by some browsers? or is that normal and just fine to do? On Jul 2, 12:44 pm, Glazz wrote: > Hi there, > > I have a hyperlink ( ) after i click on that hyperlink, the script > sends

[jQuery] jQuery - Click function + Ajax

2009-07-02 Thread Glazz
Hi there, I have a hyperlink ( ) after i click on that hyperlink, the script sends some data to a .php page; That works fine, but for just one hyperlink , i want to be able to have 2 or more hyperlinks in the same page using the same script. Here goes the script: $("#button").click(fun

[jQuery] click function on anchor element

2009-06-11 Thread bensan...@gmail.com
Hi all, I'm confused as to why when I have: $('a').click(function(){ alert(this); return false; }); the alert displays the URL defined in the href attribute, and not an object. Yet, if i call like say an image, it returns the object. Thanks ben

[jQuery] .click function won't work twice? addClass and hasClass little problem

2009-05-19 Thread Edwinistrator
I want to change the color on every click of the div, by changing the class and checking if hasClass. First removeClass, then addClass. But this won't work? Live demo: http://www.edwinistrator.com/stuff/jquery/ http://www.w3.org/1999/xhtml"; lang="en"> Test div { cursor: poin

[jQuery] .click function won't work continuously? addClass and hasClass little problem

2009-05-19 Thread Edwinistrator
I want to change the color on every click on the div, by changing the class and checking if hasClass. First removeClass, then addClass. But this won't work? Live demo: http://www.edwinistrator.com/stuff/jquery/ http://www.w3.org/1999/xhtml"; lang="en"> Test div { cursor: pointe

[jQuery] click(function() works only once per page load?

2009-03-28 Thread Mr.Zeph
Hi, I'm brand new to jQuery, and so far I love it! I don't know ajax from a cumquat and yet, here I am ajaxing around merrily, even if clumsily. I've run into a situation where I have a grid of images, one which is to be the default, or the main image. When I click the radio button, it correctly

[jQuery] Click function dosen't work, after append new html data.

2009-03-10 Thread sure
Hi all, I am new to jquery. My close click event function dosen't work, when ever i append new html data to my div. Intially it is working fine with static data. Please help me to fix this problem. $(function() { $("#addrow").click(function() { a

[jQuery] click(function) in an iframe

2009-01-07 Thread Mike B
Hello, I've got a menu on my page that opens when clicked, and stays open until it's reclicked or the user clicks anywhere else on the page. Basically, it behaves the same as an application menu. The problem is that a large part of the page is occupied by an iframe and I can't figure out how to g

[jQuery] click function

2008-12-15 Thread Alfredo Alessandrini
I've a simple question.. I'm writing a function that call an event on first mouse click and call another event on second mouse click. But I've some problem, because work only the first mouse click: jQuery(document).ready(function() { $(".menu a").click(function() { $(this).next("em").animat

[jQuery] click function doesn't work on html element created on the fly with jquery

2008-12-04 Thread fabrice.regnier
hi to all ;) It seems that click function doesn't work on html element created on the fly with jquery. Where am i wrong ? When i click on the checkbox from paragraph "P2", i got the alert. But when i click on the checkbox from paragraph "P1" created on the fly (when i submit a button), then i go

[jQuery] click function

2008-09-28 Thread SeanJA
$(".status_actions img").click(function(){ console.log("clicked!"); console.log($(this).attr("alt").val()); }); It puzzles me as to why this does not work...

[jQuery] Click function only invoked after second click in IE6 & IE7

2008-09-25 Thread RLR
I am having difficulties with IE6 and IE7 not invoking the click function correctly. I have to click twice to get it to fire. test case: http://dev.dreimorgen.com/test.html with IE6 or IE7 click on "item1" once then on the "Item 1 content" link. Repeat the process once more and it should toogle

[jQuery] click function doesn't work on dynamic content?

2008-06-05 Thread [EMAIL PROTECTED]
Hi there, Please see my example here: http://www.hellobenlau.net/jquery/test.htm So basically, I want to select a list item from Group A, and when the transfer button is clicked, it gets transfered to Group B. However, once transferred, the list items in Group B doesn't respond to any click func

[jQuery] click(function(select) help

2008-05-01 Thread elle
Hi again, I have a form with products select menu. I would like to show and hide product specific options as the user selects them. Now, I can show the product options but I don't know how to hide them if the user selects a different product. My HTML is: snip... -Se

[jQuery] click(function(select) help

2008-05-01 Thread Waz and Elle
Hi again, I have a form with products select menu. I would like to show and hide product specific options as the user selects them. Now, I can show the product options but I don't know how to hide them if the user selects a different product. My HTML is: snip...

[jQuery] click(function(select)

2008-05-01 Thread elle
Hi again, I have a form with products select menu. I would like to show and hide product specific options as the user selects them. Now, I can show the product options but I don't know how to hide them if the user selects a different product. My HTML is: snip... -Se

[jQuery] click(function(select) help

2008-05-01 Thread elle
Hi again, I have a form with products select menu. I would like to show and hide product specific options as the user selects them. Now, I can show the product options but I don't know how to hide them if the user selects a different product. My HTML is: snip... -Se

[jQuery] jquery click(function) and animate() function cross broweser.

2008-03-28 Thread r1talin
Hi there guys, it seems muy site is not working on any IE version and on firefox it does. http://85.17.142.65/~astrazeneca/proceshtml/astra2.html thanks for your help

[jQuery] .click function running multiple times

2007-10-06 Thread wattaka
Hi all. This piece of code runs in FF only once as expected, the click gets called once, but it gets called multiple times in IE6, can someone tell me what I am doing wrong? Its the second click below. Not the livequery click Thanks // CODE $('#intended_branch_container .delete').livequery('c

[jQuery] Re: jQuery .click Function Help

2007-04-17 Thread Jörn Zaefferer
Brandon schrieb: The jQuery.each works wonders. It's also cleaner IMO. Thanks, Jörn. There are two cases where you'd wan to avoid using each: When you need to reference "this" without creating a closure and when you've got some real performance issues. Apart from that I use it all the tim

[jQuery] Re: jQuery .click Function Help

2007-04-17 Thread Brandon
The jQuery.each works wonders. It's also cleaner IMO. Thanks, Jörn. Brandon On Apr 17, 1:27 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Brandon schrieb:> I am finishing up a small script using the jQuery library, > and I am > > struggling with a onclick function: > > > for (i=0; i >$(

[jQuery] Re: jQuery .click Function Help

2007-04-17 Thread Jörn Zaefferer
Brandon schrieb: I am finishing up a small script using the jQuery library, and I am struggling with a onclick function: for (i=0; i Oh, or just use jQuery.each: jQuery.each(elements, function(i, value) { $('#'+settings.instancename+'-nav-'+String(i+1)).click(function() {

[jQuery] Re: jQuery .click Function Help

2007-04-17 Thread Jörn Zaefferer
Brandon schrieb: I am finishing up a small script using the jQuery library, and I am struggling with a onclick function: for (i=0; i I think the easiest approach is to copy the value: for (i=0; ihttp://bassistance.de

[jQuery] jQuery .click Function Help

2007-04-17 Thread Brandon
I am finishing up a small script using the jQuery library, and I am struggling with a onclick function: for (i=0; i