I have a div Container, and I am creating a dynamic textbox control when an Add button is clicked
<div id="Container">
<input type="Submit" id="AddTextBox" value="Add">
<!-- Here are my dynamic textboxes -->
<input type="text" value='' class="dynamic">
<input type="text" value='' class="dynamic">
<input type="text" value='' class="dynamic">
</div>
<input type="create" id="create" onclick="GetValue();" value="create">
I want to get the value of all textbox controls, eg:
Function GetValue()
{
var COntain=TextBoxValue+"$"+Textbox2Value+"$"; // so on
}
1 Answer