Jump to content
Sign in to follow this  
adios

Any JavaScript types here?

Recommended Posts

How do I reference a variable in an address

 

document.formname.child.style.display="none";

 

Where 'child' is the variable, I've tried all mixes of square brackets, dollar signs, pluses etc.

 

I could assemble it as variable first and then reference it, but I'd rather avoid that if possible.

Share this post


Link to post
Share on other sites

Cheers, I can search myself, I just know there's a couple of decent js heads about on here, and I don't fancy registering on another forum.

Share this post


Link to post
Share on other sites

I do have a tricky bastard of an apache problem involving the third level of subdirectory going to the wrong place in a dynamic redirection of subdomains if you fancy it?

 

I fear Patrokles may try to scare me away. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

Recent tweets

Toontastic Facebook

Donate to Toontastic

Keeping the lights on since... well ages ago
TT-Staff


×