Client side script
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Client side script

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
gg
Guest





Posted: Mon Oct 24, 2005 8:51 pm    Post subject: Client side script Reply with quote

Hi all i`ve made this client side script to write in a placeholder when
a checkbox is checked,



function setText()
{
if(document.all('CHKTopped').checked==true)
{
document.all('NCPHRICH_PHTopped').html="true"
}
else
{ document.all('NCPHRICH_PHTopped').html="false"
}
}

but i receive a error message "document.all() is null or not an
object".
All the element exsist and i don-t knoe what can be the problem
What is the problem?
Thanks
Back to top
Stefan [MSFT]
Guest





Posted: Mon Oct 24, 2005 8:51 pm    Post subject: Re: Client side script Reply with quote

Hi GG,

this is not a MCMS related question. You should post this to an browser
based newsgroup.
Actually document.all is not supported by all browsers.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"gg" <gigino@gmail.com> wrote in message
news:1130173198.481166.246860@g47g2000cwa.googlegroups.com...
Quote:
Hi all i`ve made this client side script to write in a placeholder when
a checkbox is checked,



function setText()
{
if(document.all('CHKTopped').checked==true)
{
document.all('NCPHRICH_PHTopped').html="true"
}
else
{ document.all('NCPHRICH_PHTopped').html="false"
}
}

but i receive a error message "document.all() is null or not an
object".
All the element exsist and i don-t knoe what can be the problem
What is the problem?
Thanks
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB