Thanks for you comments Carl. I knew this before posting here. As you suggested I posted in stackoverflow but no luck , I posted in jquery forumn too but use there too...
I am using this in one of my coldfusion application. I thought, if any of you CF guys are aware of this I can seek help from.
I meant no disrespect. There are many who use these forums who don't understand the difference between client-side and server-side code, and only see things from the "ColdFusion perspective". They tend to ask any and all web-development related questions here, rather than in more appropriate forums. With only the little bit of information provided in your post to go on, I unwittingly painted you with the same brush. For that I apologize.
I'm probably not the only one who drew this conclusion, though. If you had included this little bit in your original post:
As you suggested I posted in stackoverflow but no luck , I posted in jquery forumn too but use there too...
it would have been apparent that you had made efforts to find an answer in those more appropriate places, and forum members would be less likely to skip over your question.
Anyway, I just did a little Googling, and may have an answer for you. Take a look at the checkValidity() form method (an HTML5 API method) to see if this will accomplish what you need. An excellent tutorial on native HTML5 form validation can be found here. I'll post this answer on your StackOverflow question too, in case it helps others.
Thanks Carl... I understand....
Thanks for your help and it is really appreciated. I got answer for the problem after reading the link that you posted.
I have marked my question (that I posted in StackOverflow) as "answered" against your comments.