how to dynamically add and remove textbox in asp.net mvc
Here is a quick and dirty solution:
$('<input type="text" name="myTextBox" />').appendTo(document.body);
The appendTo method accepts quite a lot of things - dom elements, other jQuery objects, selectors. You may also want to check the other DOM manipulation methods.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With