#1
  1. Contributing? HA!
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    In the office...
    Posts
    250
    Rep Power
    25

    PHP&Javascript not workin together


    I've been mainly using PHP since I started this project and have posted up the odd question here - thanks for all the replies!

    This one is a bit strange, maybe I'm just missing a simple syntax error but I can't figure it out. I have 2 files both using a similar script, the functionality is exactly the same. The problem is, one works and the other doesn't.

    The idea is to make a dynamic listbox which calls a function in its own file to refresh itself with the new information. The second file(hwSpecs.php) doesn't react when the combobox is changed. Look for the function "reloadPage()"

    Ive pretty much given up on finding an error so good luck out there.

    Ill post the working file in a reply
  2. #2
  3. Contributing? HA!
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    In the office...
    Posts
    250
    Rep Power
    25
    Heres the working file: newHWItem.php
    Attached Files
  4. #3
  5. Contributing? HA!
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    In the office...
    Posts
    250
    Rep Power
    25
    Sorry, the original file never came, so here's hwSpecs.php (the broken one)
    Attached Files

IMN logo majestic logo threadwatch logo seochat tools logo