How to get selected option value?
var optionValue = $("#DropdownId option:selected").val();
How to check existance of an HTML element?
$("#elementId").size()>0
or
$("#elementId").length>0
If you know any cool jQuery expression please post it here...
Showing posts with label jQuery. Show all posts
Showing posts with label jQuery. Show all posts
Sunday, October 18, 2009
Subscribe to:
Posts (Atom)