[thelist] DOM - .childNode and How to Target?
jono at charlestonwebsolutions.com
jono at charlestonwebsolutions.com
Mon Apr 2 10:25:44 CDT 2007
> On 4/2/07, jono at charlestonwebsolutions.com
> <jono at charlestonwebsolutions.com> wrote:
>
> if(document.getElementById('target-b')){
> document.getElementById('target-b').getElementsByTagName('td')[2].firstChild.nodeValue
> = 'Email';
> } else if(document.getElementById('target-x')){
> document.getElementById('target-x').getElementsByTagName('td')[2].firstChild.nodeValue
> = 'Email';
> }
>
> if statements always need a condition
>
> if(something){
>
> } else {
>
> }
>
> Chris
OK, this seems to be working locally, I am just having trouble getting it
to work in the real world environment - a CMS WYSIWYG editor environment.
I think I can get this working with what you have provided; I will keep
working on it.
I may post back later on; thank you again!
More information about the thelist
mailing list