-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: sreejith77
Message 1 in Discussion
I have a doubt. I placed a web server Button with in the Content Region of a
Master page. i gave the Button ID as "Button1". But at Run time when i access
the Button from Javascript thru as
alert(document.getElementById('ctl00$ContentPlaceHolder1$Button3').value);
i am getting object not defined error.
I checked the view source of the web page. then i saw that my button id and
name changed to
ctl00$ContentPlaceHolder1$Button3 and ctl00$ContentPlaceHolder1$Button3.
Now how i can access my Button from script or how will get the new(changed )
name and id from my script
Sreejith
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/Bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]