X

All posts in: JQuery

How to Dynamically Trim Text Using jQuery

This easy beginners jQuery tutorial demonstrates how you can use jQuery to trim the text length of an HTML element based on how many characters you wish to be viewable by the user. With this straightforward and simple code snippet, you’ll be ...

jQuery Snippets: Getting the Current Year

Here’s a fun, simple, and incredibly useful jQuery that you can probably use on just about every single one of your projects. This snippet uses jQuery to grab the current year and display it wherever you’d like within your webpage. This ...

jQuery Snippets: How to Conditionally Enable Submit

One easy way to prevent users from submitting an empty form in a pinch is to conditionally disable the submit button. This might be technically be considered a best practice, but if you’re in a rush and don’t have the time to write an ...

How to Use Google Analytics with jQuery Mobile

jQuery Mobile is an HTML5 based web-page framework that’s optimized for touch — so it’s perfect for using to make responsive web pages and websites that will look great and work phenomenally on mobile devices and tablets. The ...

Page 1 of 2112345...1020...Last »