[jQuery] Selected value in dropdownlist
Hi folks,
How can I get selected value in dropdownlist?
That code does not work. Why ?
$(document).ready(function()
{
var test;
test = document.getElementById("ddlCourse").value;
$("#ddlCourse").change( function() { $('#class').load('filter_report.asp', {ajax:'1', cod_course: test }); } );
});
<br clear="all">
thanks,
Harlley
<a href="mailto:harlley@gmail.com">
harlley@gmail.com</a>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/