开发者

How to add a row with Html.TextBox() on a table using jquery

开发者 https://www.devze.com 2022-12-21 20:06 出处:网络
I have added the Html element to the table with table row but,i am getting problem with adding the Htm开发者_JS百科l.TextBox() to the table with a table row using j Query when a button is clicked.jQue

I have added the Html element to the table with table row but,i am getting problem with adding the Htm开发者_JS百科l.TextBox() to the table with a table row using j Query when a button is clicked.


jQuery and Javascript are not ASP. A TextBox is an <input> element with type="text". To add one to any given element:

$('#someElement').append($('<input type="text" />'));
0

精彩评论

暂无评论...
验证码 换一张
取 消