Thanks Klaus
I tested and this apparently avoid do the click in my combo.
You ask why I am looking for this. I am building an amazing and animate
triple combo like (continent-country-city).
So my solution isnt Ajax. I query my database first and manipulate this data
with JQuery.
But the problem
MARIO MOURA schrieb:
Do you have a example?
$(#edit-taxonomy-6).change(value,0);
I am trying back to value=0
Regards
macm
Try this:
$('#edit-taxonomy-6').bind('change', function() {
this.value = 0;
});
That will select the option that has the value 0. Although that doesn't
Do you have a example?
$(#edit-taxonomy-6).change(value,0);
I am trying back to value=0
Regards
macm
2007/3/21, Mike Alsup [EMAIL PROTECTED]:
Aljosa,
You need to bind to the change event on the select element.
On 3/21/07, Aljosa Mohorovic [EMAIL PROTECTED] wrote:
i have a
Aljosa,
You need to bind to the change event on the select element.
On 3/21/07, Aljosa Mohorovic [EMAIL PROTECTED] wrote:
i have a DIV.selection tag and inside SELECT with OPTION tags.
using jquery i can find and manipulate options with
$('div.selection').find(option).each and similar but i
Options within selects don't have an onclick event. Use the onchange
event of the select, instead, and detect the selected value. I'm new
to jQuery, but you can't do this in straight JavaScript (unless I've
missed the memo - which is possible), so I suspect you may not be able
to do it in
To: jQuery Discussion.
Subject: Re: [jQuery] select box - options manipulation
Options within selects don't have an onclick event. Use the onchange
event of the select, instead, and detect the selected value. I'm new
to jQuery, but you can't do this in straight JavaScript (unless I've
missed the memo
You would be correct sir :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rob Wilkerson
Sent: Wednesday, March 21, 2007 9:18 AM
To: jQuery Discussion.
Subject: Re: [jQuery] select box - options manipulation
Options within selects don't have an onclick