944,144 Members | Top Members by Rank

Ad:
Oct 15th, 2007
0

sample code for form validation using ajax

Expand Post »
Hello sir,

I m need of help regarding form validation using ajax.I need a sample code.It should be like when i have two text fields without entering the first one when i keep the mouse in to the second text box it should say in the red mark as in the right hand side of text box..

please help me
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
elangobala is offline Offline
15 posts
since Oct 2007
Oct 15th, 2007
2

Re: sample code for form validation using ajax

take a look at:
http://www.w3schools.com/ajax/default.asp
http://www.prototypejs.org/
http://sourceforge.net/projects/glm-ajax/

and also search it yourself in google and iy provides you with amazing things, really!

Good luck.
Reputation Points: 55
Solved Threads: 11
Junior Poster
mostafadotnet is offline Offline
157 posts
since Jul 2006
Oct 3rd, 2008
0

Re: sample code for form validation using ajax

and also search it yourself in google and iy provides you with amazing things, really!
Congratulations, you came up number 5, ie. The fifth ranked forum post in Google for this very topic. Congratulations, and thanks for suggesting Google.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sanity93 is offline Offline
1 posts
since Oct 2008
Feb 17th, 2010
0

need code for form validation in ajax

Hi,
->I need a help regarding form validation.
->when i click the submit without entering the first field,it must show star(*) like this.
->pls provide me the sample code.

Thank u.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dsiva637 is offline Offline
1 posts
since Feb 2010
Feb 17th, 2010
-1
Re: sample code for form validation using ajax
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <span id=fooerror style="color:red;"></span><input type=text name=foo id=foo onblur="if(this.value.length<1){document.getElementByID('fooerror').innerHTML='*';alert('Error\n I must learn the difference between asking for someone to help and asking for someone to do it for me.')}">
Reputation Points: 9
Solved Threads: 14
Junior Poster
vsmash is offline Offline
100 posts
since Feb 2010
Feb 14th, 2011
0
Re: sample code for form validation using ajax
lol @ alert (vsmash)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
MrRundog is offline Offline
1 posts
since Feb 2011

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: NaN output - help correcting this
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: jQuery Submit Form With Link





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC