Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : First selected option in dropdown list?

$
0
0
Not sure what you mean...

You can change the option selected using jQuery's val
  1. $('select').val(10) //-> YUI
You can also retrieve the value selected using jQuery's val() with no arguments.

Viewing all articles
Browse latest Browse all 3491

Trending Articles