ASP.NET - Page cannot be submitted after creating dynamic elements in javascript
Asked By Anandh Ramanujam on 30-Dec-10 06:17 AM
Hi,
I have created dynamic table elements in javascript.
After that, if I click submit button, page is not submitting.
And also, I cannot see the dynamically created elements thro 'Viewsource'.
What could be the cause for this...
Thanks.
Jatin Prajapati replied to Anandh Ramanujam on 30-Dec-10 06:23 AM
Dynamic created elements using javascript do not come in View Source. as this operation is performed on client site, the View source only displays the rendered source sent by Server.
Anandh Ramanujam replied to Jatin Prajapati on 30-Dec-10 06:25 AM
Ok. I understood.
But the page is not submitting...
while mouse over to the submit button, in status bar i can see the line 'javascript:;'. It happens only when I created elements dynamically.