Shivaraj Poojary

Shivaraj Poojary

  • NA
  • 92
  • 314.8k

How to put value in asp.net textbox from javascript?

Dec 10 2011 4:58 AM

Hi Experts..

I want to assign a value stored in a javascript variable to an asp:textbox control.

I tried this but its not working.

The value property is not coming.Please help me out..

document.getElementById('<%=txtEmail%>').value


Answers (7)