Jquery highlight js
Starting with jQuery 1.9, sourcemap files are available on the jQuery CDN. However, as of version 1.10.0/2.1.0 the compressed jQuery no longer includes the sourcemap comment in CDN copies because it requires the uncompressed file and sourcemap file to be placed at the same location as the compressed file. If you're looking for small and lightweight, the highlight jquery plugin is indeed your best choice. It's great at highlight-ing and removing highlights matching given text. If you need regular expression or other support; however, check out mark.js or any of the extensions and forks for highlight linked to from the highlight page.
Download jquery.highlight-5.js (2 KB) and add it to your page after jQuery. A Closure Compiler compressed version (1 KB) is also available. Style the highlight class Create an entry in your style sheet for the highlight class.
Select elements typically have two values that you want to access. First there's the value to be sent to the server, which is easy: The second is the text value of the select. For example, using the following select box: <option value="2">Mrs</option> If you wanted to get the string "Mr" if the first option was selected (instead of just "1 ...