Jump to content

Javascript help needed?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
phpforfun

phpforfun

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,236 posts
hey guys, so Im a PHP guy, I like javascript, but I spend my time expanding my PHP skills...

I was wondering if someone could help me find some code, or generate some code for me, I will not take credit for it..

What Im trying to do is make my site more user friendly, go here..

Analyze That Host

See the Development form and the Management form? well, I wanted another option, I wanted 2 radio buttons above each. One will say 'Default', one will say 'Custom', when default is checked, it will grey out all the check boxes, and when custom is checked, it will make them clickable..
anyone able to help me?

#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
You need to attach a method to the "onclick" event to the "default" radio button, so that whenever the option's check state is changed, the script responds by (un)greying out the other options. Try JavaScript Tutorial for a JavaScript tutorial. If you're still stuck, give me a shout.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums