Results 1 to 2 of 2

Thread: Javascript help pls

  1. #1
    Join Date
    Nov 2008
    Posts
    28

    Javascript help pls

    pls can someone help me with a javascript that displays a particular form when you click on a radio button, like what you have at https://www.hostupon.com/hosting/cart.php?a=add&pid=1. I want to use it for my host website.

    I'll be very grateful.

  2. #2
    Join Date
    Sep 2009
    Posts
    15
    -create all the radio buttons and input elements (so they are all visible)
    -when the window.onload event is fired hide all the input elements (or the stuff u want hidden). eg if you want to hide a div called "domaininput" : document.getElementById("domaininput").style.display = "none";
    -use event handlers for each of the radio buttons using the same concept as above to show/hide elements

Similar Threads

  1. JavaScript Collector
    By JavaScriptBank in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 09 Jul 2009, 03:28 AM
  2. JavaScript library
    By JavaScriptBank in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 09 Jul 2009, 01:26 AM
  3. element specific javascript
    By gumbo in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 04 Dec 2005, 06:25 PM
  4. element specific javascript
    By gumbo in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 04 Dec 2005, 06:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •