Create a File Uploader using jQuery and Bootstrap

Oftentimes in a web application, website members are allowed to upload multiple files in the server. This can be tiring for others, thus making the pr...

 

Remove an option from a select box

Manipulate select options from a select box using jQuery. A specific option can be removed by using the remove() function. For example. Remove all...

 

Select an element by name with jQuery

Select an element by it's name using jQuery. For Example. Select a specific element through it's attribute name. Requirement: Display the attrib...

 

Check if a checkbox is checked with jQuery

Use the property of an element to test whether it has been checked or not. Either use $(elem).prop("checked"); or $(elem).is(":checked"); for testing,...

 

Read XML files using jQuery

Quickly read and parse XML files with jQuery, no server side scripting required. For example. The sample XML file that is used on this tutorial can ...

 

Parse JSON file with jQuery

Use the function getJSON() to read and parse a JSON file with jQuery. For example. Use each() function to loop through the records of a parsed JSO...

 

Scroll to an element using jQuery

Smoothly scroll to an element using the animate() function of jQuery. For example. Scroll to the header div from a click of a button from the bott...

 

Match the beginning of a Class or ID in jQuery

Select an element that has an attribute Class or ID that starts with a given keyword. For example. Match all elements that has an attribute ID that ...

 

Change array values to lowercase or uppercase in jQuery

Loop through an array to convert it's values to lowercase or uppercase using the $.each() function of jQuery. Call the toLowerCase() function to make ...

 

Check if a string is in an array in jQuery

Use the jQuery function inArray() to find a string in an array, it will check if an array contains a given string and will return the index of the mat...