Have you uploaded your includes directory and usa.html files?

Also, your html markup is not valid. Maybe it's causing the problem,
who knows...

----
Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com



On Tue, Mar 3, 2009 at 7:52 PM, davidnext <da...@nextinteractives.com> wrote:
>
> 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