Posts Under 'JavaScript'

JSValidate – javascript form validator

JSValidate is a form validator that utilizes aspects of prototype and scriptaculous to bring you a simple to execute, non-intrusive javascript form validator. With minimal setup, your forms can be processing clean data in no time at all. Just you have to attach a class to any of your form elements, which you want to […]

Read more »


Google FriendConnect plugin for WordPress

Google FriendConnect – instantly awakens and strengthens the community that visits your site by enriching it with social features. Anyone can join your site and discover other members by using information from a variety of services, including Google, Yahoo!, Twitter, AOL, orkut, and Plaxo, strengthening your community as visitors become members. Choose from a range […]

Read more »


A simple newsletter sign-up form using PHP, Ajax and the Prototype JavaScript framework

A simple newsletter sign-up form using PHP, Ajax and the Prototype JavaScript framework. When visitor enters his name and email and clicks on “Sign up” a check is being done if the email exists already and if not it is added. This is happening without refreshing the current page (Ajax). All code is well commented, […]

Read more »


Nickname validation javascript

function Check(form) { value=form.nickname.value var valid=/^[0-9a-zA-Z_]*$/; if(value!="" && !valid.test(value)) { form.nickname.style.background = "#FFCCCC"; alert("field must contain only alphabets,numbers and underscore.\n"); return false; } return true; }

Read more »