Jump to content

Any JavaScript types here?


adios
 Share

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.

Link to comment
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.

Link to comment
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. :)

Link to comment
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
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.