Trigger jquery events on a SELECT of a form
Hi everybody! I'm new here and I have a question.
I am starting using Jquery to add some interactivity to webpages. At the momen I learnt how to populate DIVS at the click of a link.
Now I need to do the same but on the SELECTION of and intem from a form SELECT.
I use this syntax:
-
$(document).ready(function(){
$("a")
.filter(".link")
.click(function(){
$("div#pic").load("AJAX_page.asp",{variables:"hello"});
return false;
})
.end()
});
Then assigning the correct CLASS to an A HREF...
-
<a href="" class="link">click</a>
...I load "AJAX_page.asp" into this div:
-
<div id="pic"></div>
.
This works ok, but what if I want to trigger the event on a SELECT selection?
My poor javascript knowledge also doesn't help me
Home someone has a clue for me!
Regards
KONEY