31 July 2011 ~ Comments Off

jQuery back button

Ever needed to create a back button that acts like the browser back button? I rarely need this but in a latest project for an online assessment it was needed to allow the user to go back and look at the assessment content. I was using both jQuery and jQuery UI, so I will also [...]

Continue Reading

Tags:

01 February 2011 ~ 2 Comments

Is an element visible?

How to tell if an element is visible with jQuery jQuery makes it easy to determine if an element is visible or hidden with a simple function ‘is()’ when used in conjunction with the element and a selector ‘:visible’ you can now determine if in fact an element is visible or not. I will cover [...]

Continue Reading

Tags:

21 January 2011 ~ 2 Comments

Quick and Easy Way To Do Autocomplete

Auto complete forms are now becoming essential to every day web development and knowing how to build such a tool will in some cases make you a hero! In the tutorial below i will be using PHP and jQuery. jQuery offers its own tool for this common problem in the jQuery UI library.

Continue Reading

29 November 2010 ~ 1 Comment

Google’s CDN links

Most of the websites I see, still host their JavaScript Library on their own server (Most, not all). Actually never have I ever seen any Web Development Blog hosting the library on their own server. They always use Google CDN, which is great because it has a number of advantages.

Continue Reading

30 March 2009 ~ Comments Off

Loading content with JQuery

Loading content via Ajax is quick and easy with JQuery. If you have never used jQuery before you might think twice about it! Below is my html where we will load the content. 1 <div id="LoadContent"></div> Now lets look at the javascript needed to load a remote page in. 1 $("#LoadContent").load("path/to/remote/file.php"); After that is called [...]

Continue Reading

Tags: ,

10 February 2009 ~ Comments Off

Browser detection using jQuery

Browser sniffing is messy. There are a million ways to do it but none of them are particularly clean and most involve conditional statements such as “” for IE and various other CSS selector hacks for other browsers. It get around this common issue i am now using jQuery to add a class to my [...]

Continue Reading

Tags: ,

09 February 2009 ~ Comments Off

Cookies with JQuery

So in some of my latest projects i dont have full source access, so i need to look for cookies the main application is setting. To do this i am using jQuery to look into the cookies and give me the value. Once i know the value i can then write a new cookie that [...]

Continue Reading

01 October 2008 ~ Comments Off

jQuery to Ship with Visual Studio

Microsoft will now be adopting jQuery for all it’s Ajax tools and any javascript related items. This is a big win for jQuery! We have two pieces of fantastic, albeit serendipitous, news today: Both Microsoft and Nokia are taking the major step of adopting jQuery as part of their official application development platform. Not only [...]

Continue Reading

Tags: ,