All Categories

JQuery & Javascript

Latest in JQuery & Javascript

Checking if one string contains another substring - indexOf

Want to search for a substring within a javascript string? The example code below shows how to use the javascript indexOf function to find a substring and its location. <script> var bigstring = 'The dog was sleeping under the tree'; var substring = 'unde

Make a redirect page using jQuery / Javascript

Ever wanted to redirect visitors from your old website to your new website? Or from an old webpage to a new webpage? Its very easy using Javascript, simply enter the following code onto your old webpage. <script> window.location.replace("http://NEW-WEBPAG
Page Navigation: 1 (All)

Most Viewed - JQuery & Javascript