Microsoft Content Management Server - Client side script

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > October 2005 > Client side script





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Client side script
gg

2005-10-24, 3:28 pm

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

Stefan [MSFT]

2005-10-24, 3:41 pm

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...
> 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
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com