What actually happens when it gets to that line? It throws an error?
Also, setting values for the elements like this won't trigger the visual changes you see when you use the page, but it will make the necessary changes to the form and submit the correct values when the form is submitted.
See here for HTML reference if it helps: http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
I've also added 1 extra line to the code in my last post so please use that code.
Bookmarks