Wednesday 10 April 2013

Select Value From Input Box onChange



 $("#whereToId").change(function () {
   var str = "";
   $("#whereToId option:selected").each(function () {
   str += $(this).val() + " ";
   });
   alert(str);

   
 })
.change();

0 comments:

Post a Comment

Leave a comment on blog quality.

Blogger

Related Posts Plugin for WordPress, Blogger...