Category: JavaScript

A friend sent me some nice links showing cool jQuery UI effects and I thought that I should share it with every one. http://designmodo.github.com/Flat-UI/ http://www.jeasyui.com/demo/main/index.php

Tagged with:

If you are maintaining separate web pages on your website for visitors viewing your website on their mobile phones or hand held devies then you can use the following JavaScript code to check the visitor’s user agent and direct them …

How to use JavaScript to detect mobile and hand held devices Read More »

Tagged with: ,

CKEditor has replaced its older version FCKEditor with more features and enhanced browser compatibility with latest versions of Firefox and Chrome. It’s also more secure than FCKEditor which has been exploited by hackers several times in the past. Use the …

How to use CKEditor in your web page using JavaScript Read More »

Tagged with:

Lightbox effect is now the defacto standard for displaying product, category and other images on your website. Javascript popups are a thing of the past and really don’t look that cool. As more and more website content management and e-commerce …

How to implement Lightbox effect in Zencart Read More »

Tagged with: ,

Our company had implemented an online payment form where customers could pay online on the company website against outstanding invoices or any other service. However, the validation on the form regarding the payment amount field was pretty simple as it …

How to validate only digits and decimal points in Javascript? Read More »

Tagged with: ,

One of my clients wanted to use the same CSS classes which were being used on the public website in the FCKEditor so that he could apply the classes in one go while writing the content. Now the Style drop …

How to customize the style drop down in FCKEditor Read More »

Tagged with: ,

If you need to disable JavaScript on your form then apply the following code in the <head> tag. <!– <script language=”javascript” type=”text/javascript”> function checkEnterkey(evt) { var evt = (evt) ? evt : ((event) ? event : null); if (evt.keyCode == …

Disable Enter key on form Read More »

Tagged with:

AJAX is a wonderful technology that provides the visitor with a “no refresh” experience on the web. With the advent and popularity of Web 2.0 this technology is making progress by leaps and bounds. If you would like to verify …

How to use AJAX to check user already exists or not in PHP Read More »

Tagged with: , ,

If  you have ever come across form validation in HTML then you will have come across the issue of visitors inputting white space in the form controls and submitting it which does not serve any purpose to the client. Not …

Check for whitespace in Javascript Read More »

Tagged with: ,