jQuery fans blog and community sharing news, plugins, video tutorials, demos and more.

jquery get the highest value in array for specific index

Simple jQuery code snippet to get the highest value in array for specific index value.

Continue reading →

jQuery get numbers only from element id

Say we are storing item ids inside the element container id attributes and we simply want to extract the numbers from the id attribute string. You can get the number from any elements id tag by using a simple JavaScript regular expression replace statement.

Continue reading →

Use jQuery to Generate Quick Pagination

Use Quick jQuery Pagination to convert long lists and page content into numbered pages in seconds! Live Demo Download Benefits of quick pagination Can be used on any list in seconds You can specify navigation on top, bottom or both You can specify the number…

Continue reading →

jQuery Create Array From String

Simple jQuery code snippet to create an array from a string. Convert your string words into an array using jQuery split() command which is like the PHP explode() method. var numbersString = "1,2,3,4,5,6"; var numbersArray = numbersString.split(’,');

Continue reading →

jQuery.get() Read Text File Example

JQuery code snippet to read a text file via the built in AJAX jQuery.get() call and then process the txt file line by line. The example adds the lines to a html element for display on page. Important: The jQuery code will only replace the…

Continue reading →

Page 2 of 3 1 2 3
scroll to top