I think you might be having some problem with the "displayData" function.
firebug will help you in debugging the code. put "debugger" statement before
displayData function and run on firefox after installing firebug. submit the
form, after getting response from server, the debugger will stop at debugger
statement. from there you can go through each step.

cheers,
Prajwala

On Mon, Sep 29, 2008 at 7:33 PM, Clemens <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I'm using the jQuery Form Plugin to submit my form (#load), which then
> loads data from the server. Heres the JS:
>
> jQuery().ready(function() {
> // ... some code
>        jQuery("#load").ajaxForm({
>                dataType: "json",
>                success: function(data) {
>                        displayData(data);
>                },
>        });
> // ... some other code
> });
>
> The corresponding html code is
>
> <form id="load" action="[whatever - generated by the server]">
>        <label for="contentid">Content-ID:</label>
>        <input type="text" name="contentid" />
>        <input type="submit" value="Load" />
> </form>
>
> Now, after clicking "Load", data identified by a corresponding content
> id should be loaded from the server. The Ajax Request executes
> correctly, and the server provides the data as requested. This works
> every single time I try in Internet Explorer 7, but not with FF3 or
> Chrome. After adding alert("hello"); to the success callback function,
> just before calling displayData() FF3 and Chrome will work fine too,
> even if I remove the alert call afterwards. When I reload my page,
> having no alert() within the success callback, the whole thing starts
> again.
>
> Hints are much appreciated :)
> Thanks for your help!
>
> Best regards,
> Clemens
>

Reply via email to