Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- $('body').append(
- $('<input/>')
- .attr('type', 'hidden')
- .attr('name', 'foo')
- .val('some value')
- );
- });
- HiddenField field = new HiddenField();
- field.ID = "HiddenField1";
- field.Value = "SomeValue";
- (this.Page.FindControl("form1") as HtmlForm).Controls.Add(field);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement