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