Tagged: javascript


- by admin

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 with others, embedded on a blog, etc. Using this approach, JavaScript developers can very easily isolate bugs.

How do you select a particular option in a SELECT element in jQuery?

- by admin

You can just use val() method:


For checkboxes, radios, and listboxes the command sets the "selected" attribute for those items.

« All tags