how to pass a textbox ID which is in a grid view to a java script
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
i am developing a web based application where i use function getdata(obj) { var txt = document.getElementById(obj); txt.value='0'; } i want to pass textbox ID which is in a grid view to the java script. how it can be possible Thanks & Regards Sourav Ghosh
-
i am developing a web based application where i use function getdata(obj) { var txt = document.getElementById(obj); txt.value='0'; } i want to pass textbox ID which is in a grid view to the java script. how it can be possible Thanks & Regards Sourav Ghosh
generally text box is used to edit item in edit mode.. so find that text box in row editing now attach txtboxid.attribute.add("onkeypress","return getdate(this);"); i think this will help u....