I have an input type-text that is created dynamically via asp.net after a div is being clicked on:
divID.innerHtml = "<input type='text' runat='server' id='box' value='' />";
what i am trying to do is when the div is clicked again, to get the value of the textbox in asp.net.
the problem is - the textbox does not exist so the compiler gives me an error for trying to use its name.
Is there a way to do this?
i also thought that maybe there is a way to somehow use jquery to pass the value to asp.net.