Q
Quentin Huo
Hi:
I created a web-form user control. And in client-site, there is a link which
will create a Input element object when it is clicked.
<script language=javascript>
.......
var nameInput = document.createElement("input");
nameInput.setAttribute("id", "authorname");
......
</script>
But when click "save" button" on this page, I can not get the value of the
created element object in the user control by (in C#)
.......
string x=Request["authorname"];
.......
So how can I get the value from the client-side created element in a user
control of ASP.NET?
Thanks
Q.
I created a web-form user control. And in client-site, there is a link which
will create a Input element object when it is clicked.
<script language=javascript>
.......
var nameInput = document.createElement("input");
nameInput.setAttribute("id", "authorname");
......
</script>
But when click "save" button" on this page, I can not get the value of the
created element object in the user control by (in C#)
.......
string x=Request["authorname"];
.......
So how can I get the value from the client-side created element in a user
control of ASP.NET?
Thanks
Q.