Category Archives: jQuery

Highlight a keyword using jQuery

Normally you would perform this type of operation server-side with PHP. I’ve put together a javascript solution for when it’s not possible to do so. In this case, I have set the context as all paragraph tags. You can change … Continue reading

Posted in jQuery | Comments Off

Simulate target blank with jQuery

The target attribute is not valid using the xhtml strict doctype, so I wrote this javascript workaround.

Posted in jQuery | Comments Off

Limit the number of checkboxes a user can select with jQuery

The following code limits the number of checkboxes a user can select simultaneously.

Posted in jQuery | Comments Off