Hi All,

I am having a problem with loading an HTML file to populate a dropdown
as follows with names of states in the USA:

      $("select[name=step_2]").load("./includes/usa.html");

The HTML it is going into is as follows:

     <label for="step_2" class="disabled">* STEP 2)  Select your State/
Province:</label>
     <span class="step_2"><select disabled="disabled" name="step_2">
                      Inserted dropdown goes here.
     </select></span>


When running the script I get the message in Firebug:

Syntax error:    [Break on this error] _block_windowOpen(); function
(X) {\n
xpopup.js (line 80)

This works when running on a local wamp server but fails on remote
servers...any ideas?  Thanks.

Reply via email to