Click here to Skip to main content
15,911,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

I am very new to java script.

I have a checkbox in gridview and on the selection of which I have to give a prompt using java script code.

How do I do that?
Kindly provide me with some code because I am novice to javascript.

Thanks

Varun Sareen
Posted
Updated 23-Feb-11 0:44am
v2
Comments
Dalek Dave 23-Feb-11 6:44am    
Edited for Readability.

1 solution

See my answer to this question: enable textbox with checkbox checked with javascript[^]

That shows you how to do it.

Best Regards,
 
Share this answer
 
Comments
Varun Sareen 23-Feb-11 6:48am    
Dear ManFred,

I have asked for the checkbox present in the grid not for the control present on the web form. Thanks for the answer although :)
Manfred Rudolf Bihy 23-Feb-11 9:53am    
So what are you trying to say by that?
Varun Sareen 4-Mar-11 4:12am    
thanks
Espen Harlinn 25-Feb-11 7:45am    
My 5 - It shows how it can be done :)

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