开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜