jsFiddle
JsFiddle is a playground for web developers, a tool which may be used in many ways. One can use it as an online editor for snippets build from HTML, CSS and JavaScript. The code can then be shared...
// 2 matches
JsFiddle is a playground for web developers, a tool which may be used in many ways. One can use it as an online editor for snippets build from HTML, CSS and JavaScript. The code can then be shared...
You can just use val() method: $('#select').val('the_value'); For checkboxes, radios, and listboxes the command sets the "selected" attribute for those items.