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

jQuery Load New Window

jQuery code snippet to load/open a link in new window. This code adds an event to the anchor tags that are given the “new-window” class and forces them to open in a new window. $(function(){  $(’a.new-window’).click(function(){  window.open(this.href);  return false;  }); }); Advanced jQuery Load New…

Continue reading →

jQuery .text() function

There are two versions of this jQuery text attribute: .text() and .text(val). jQuery text() function Syntax: .text() Functionality: .text() gets all the combined text contents of all matched elements. Browser Compatiablity: text() works in all browsers that we have tested on. Basic Example: Find the…

Continue reading →

jQuery innerText() vs outerText()

jQuery InnerText() vs jQuery OuterText() jQuery Innertext() and OuterText() functions are almost identical. Note that these can be referred to as jQuery functions but they are actually JavaScript properties. For arguments sake we will use jQuery! :) The jQuery InnerText() property replaces the content between…

Continue reading →

jQuery Presentation – Learn jQuery

jQuery Essentials Popout This is a great jQuery Presentation for anyone whos learning jQuery and covers the following topics: Introduction to jQuery (slides 1-16) jQuery Selector Examples (slides 17-31) jQuery Method Examples (slides 32-50) jQuery Attributes Examples (slides 51-71) jQuery Events Examples (slides 72-78) jQuery…

Continue reading →

17 jQuery Modal Dialog Boxes

A great way to show quick information to your user is to use jQuery modal dialog boxes or windows. Dialog boxes can also use to alert them to warnings, errors and more. What if jQuery gets into the action? Well, expect coolness and boldness that…

Continue reading →

Page 240 of 265 ←; First ... 238 239 240 241 242 ... Last →

scroll to top

SitePoint logo

Free ebook: jQuery: Novice to Ninja

Grab a free copy of SitePoint's jQuery: Novice to Ninja! Packed with new kicks and tricks to help you master jQuery.

jQuery: Novice to Ninja: New Kicks And Tricks book cover image