M
MonkeeX
Hi,
I'm trying to convert my normal ASP.NET site to one which uses master
pages. I have a separate js file which sets a HTML control on the form
as follows:-
form1.ctllname.value = mainDiv.HTML;
Of course the form does not exist anymore in this file as it is now as
asp:content page and I get the wrror message:-
'form1 is undefined'
How can I set this same control in the new context?
Seems straight forward but I can't crack it.
Thanks,
MonkeyBoy
I'm trying to convert my normal ASP.NET site to one which uses master
pages. I have a separate js file which sets a HTML control on the form
as follows:-
form1.ctllname.value = mainDiv.HTML;
Of course the form does not exist anymore in this file as it is now as
asp:content page and I get the wrror message:-
'form1 is undefined'
How can I set this same control in the new context?
Seems straight forward but I can't crack it.
Thanks,
MonkeyBoy