[jQuery] Re: change on select not working

2008-01-31 Thread RyanMC
Nevermind, I am an idiot. I got it. On Jan 30, 8:13 pm, Hamish Campbell [EMAIL PROTECTED] wrote: Whenever you create new selects you will need to bind the click event to the new selects. On Jan 31, 11:51 am, RyanMC [EMAIL PROTECTED] wrote: $(select).change(function(){ alert(Selected

[jQuery] Re: change on select not working

2008-01-31 Thread RyanMC
How would I go about doing that? On Jan 30, 8:13 pm, Hamish Campbell [EMAIL PROTECTED] wrote: Whenever you create new selects you will need to bind the click event to the new selects. On Jan 31, 11:51 am, RyanMC [EMAIL PROTECTED] wrote: $(select).change(function(){ alert(Selected

[jQuery] Re: Manipulation of select objects

2008-01-30 Thread RyanMC
- Original Message - From: RyanMC [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Tuesday, January 29, 2008 3:38 PM Subject: [jQuery] Manipulation of select objects I am working on a site where various dynamic content will be created each session

[jQuery] Re: Manipulation of select objects

2008-01-30 Thread RyanMC
- From: RyanMC [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Tuesday, January 29, 2008 3:38 PM Subject: [jQuery] Manipulation of select objects I am working on a site where various dynamic content will be created each session. There will end up being between 1

[jQuery] Re: Manipulation of select objects

2008-01-30 Thread RyanMC
: Basically you can do this: $('select').each(function() { $(this).doWhatever() // will run the method doWhatever on the currently iterating select }); -- Josh - Original Message - From: RyanMC [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Tuesday

[jQuery] change on select not working

2008-01-30 Thread RyanMC
$(select).change(function(){ alert(Selected: + this.value); }); Is there any reason why this wouldn't be working on all the selects on my page. I create the selects dynamically, but this is up in the $ (document).ready(function() { block of my code.

[jQuery] Manipulation of select objects

2008-01-29 Thread RyanMC
I am working on a site where various dynamic content will be created each session. There will end up being between 1 and a very large number of select boxes on the page. Users are able to add items that need to be inserted into each select box. I found a plugin that allows me to addOption and