Jquery selectors list 4. action() Where: $( ) wraps the selector "selector" is a CSS-style selector like . val() isn't working for him is because he didn't actually give his options a value, which is why he has to use your method to retrieve the selected text, so another fix would've been to change <option>choose io</option> to <option value='choose io'>choose io</option> Although your solution is probably quicker and more practical, I figured I'd state this anyways so he has a Description: Selects all direct child elements specified by "child" of elements specified by "parent". Here is a list of complete jquery selectors with live example and code. The jQuery reference contains a list of all jQuery selectors, methods, properties and events, along with examples. Those "p" tags in the previous sentence are formatted as <code>. This is a paragraph, which means it is wrapped in <p> and </p>. text() or . With jQuery selectors, you can find or select HTML elements based on their id, classes, attributes, types and much more from a DOM. How to populate a dynamically created select with options. esktkmflsbpyxcyaqmjibwdtrkweaekpxwnyveszapjhbyvlaeezfrrjdnrcyncedkdiohlysfga