vijayjoshi.org - php | javascript | ajax | and all things web

Archive for the ‘Javascript’ Category

Searching text in a HTML table using jQuery

January 3rd, 2011 | Posted by Vijay Joshi | 5 Comments
Here is the situation. You have a really long table with hundreds of rows and you want to filter the rows(instantly!) that contain a specific keyword in any of the ...

Why you MUST use client side validation

December 30th, 2010 | Posted by Vijay Joshi | 1 Comment
Client side validation is checking the values against the desired format before sending them to server side for further processing. Javascript is used for validations on browser. Lately, with the ...

Using Twitter API and jQuery to display recent tweets

December 24th, 2010 | Posted by Vijay Joshi | 1 Comment
In this article I will show you how you can display your (or any other user’s) recent tweets with some jQuery magic. We will create a widget (sort of) that ...

Working with XML Documents in PHP and jQuery

December 23rd, 2010 | Posted by Vijay Joshi | No Comments
Here is one more sample chapter from my book. It explains reading, writing and editing XML files with PHP and jQuery. Below are the chapter contents. Loading XML from files and ...

Filling a select box using javascript and jQuery

December 21st, 2010 | Posted by Vijay Joshi | 3 Comments
innerHTML is commonly used property for setting html content of elements. Though it is not a standard property, even then all browsers support it. It is faster then using DOM ...

Working with JSON in PHP and jQuery

December 20th, 2010 | Posted by Vijay Joshi | 2 Comments
I mentioned in a previous post that I was writing a book on PHP and jQuery. Well, after a labor of around 7 months the book is out now. It ...