Results 1 to 1 of 1

Thread: Java script

  1. #1
    Join Date
    Apr 2010
    Location
    Ontario CA
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Java script

    Hi im new to this this the first time for me needing help on java code....

    ok i need help on my index page im trying to use a form thats a HTML form with a drop down list in my main site on 23 images....

    well what i have is 23 thumb images that when you click on one... it loads a lightbox... this light box has an image and a form.... with a button ...

    well wat i want to achieve is to do the same on all 23 images without having to write the form 23 times for each image....
    i have try.....

    <script type="text/javascript">
    txt=document.getElementById("form1").innerHTML;
    document.write("" + txt + "");
    </script>

    and works when you click on the drop down list form... but when i choose something and click the submit button nothing happens.....


    or is it that im using the wrong code.....


    NVM....... already found the bug..... it was on the form name..............
    NVM....... already found the bug..... it was on the form name..............

    i knew i wasn't 4 getting JAVA....
    Last edited by dark o; 04-24-2010 at 01:49 AM.

Bookmarks

Posting Permissions

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