dynamic-list

Extracting information from dynamic list to post with jQuery?

I have a dynamic list of items that will be used to POST information to the backend using AJAX. <a href="...">Item 1</a> <a href="...">Item 2</a> <a href="...">.....</a> <a href="...">Item n</a> I've decided to include a css class and a hidden input on each item so that I can easily assign the handler (using the css class) and so that...

Style substring in a HTML <option> from a <select>

Styling of items in a option list is easy: use a CSS definition and apply it: <select> <option>Option 1</option> <option style="color: #F00; font-weight: bold; padding-left:2em;">Option 2</option> <option>Option 3</option> <option style="color: #00F;">Option 4</option> <option>Option 5</option> </select> But what is the ...