Click here to Skip to main content
15,906,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,
I have a page where two text box accept users inptut. A cancel button is also at page to clear the user's input.I want to blank the inputs at client side. I put Jquery code to achive the requirment but it does not work. It is neither giving me any error nor functioning well.
I referenced the Jquery.js file from exect loacation (by dragging it to page) which is in my project.
I am using 64 bit Windows Vista and Visual studio 2008 Profesional version.
Please suggest me the right place to work on.
Posted

Hi PratSol,
In JQuery u may be using $('#id') of the textbox.
You should do like this,
$("<%= textBox.ClientID %>")

If it didnt work then on Page load, try to use alert('Any Msg') and check whether alert is coming or not?
For further discussion, reply on this msg.

Regards,
Jitendra
 
Share this answer
 
it did not work. simple alert from page load did not work.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900