Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi sir,

in my datagrid i display mobileno and name and also checkboxes in every row.

if i select the checkbox that row mobileno is displayed in textbox. this textbox is in outside of the datagrid.

And if uncheck the checkbox that mobileno is removed from textbox. how to write javascript for this. please give a solution sir.

Thanks.
Posted

1 solution

It's really pretty easy. You use document.getElementById to find your text box, you make the function in the grid pass in the text it has to show. The end.
 
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