Dynamically Add / Remove CSS Class with jQuery

jQuery has built in functions designed to add and remove a CSS class or multiple CSS classes from selected elements (selectors). .addClass() –¬†Adds the specified class(es) to each of the set of matched elements. The function¬†simply adds the class, appending it to any which may already be assigned to the elements. More than one class […]

Add/Remove options from a Select box with jQuery

Ever wanted to refresh your options in a drop down without having to refresh the screen? Here we will look at how to add and remove options from a select box using jQuery without refreshing the page. Adding a single option via .append A single option can be added by appending HTML to the select […]