Skip to content Skip to sidebar Skip to footer

Ajax Posting Is Shown As Red Color In Firebug Console

If i execute the following code ,then i enabled the firebug.In firebug while submitting form ,in console the 'post to login_submit.php' is shown as a red color.And i also didnt get

Solution 1:

Because the form is submitting and it is causing the http connection to be cut off. Cancel the submission of the form.

onsubmit="return false"

Ideally you would be calling your function onsubmit of the form and not click of the button.


Post a Comment for "Ajax Posting Is Shown As Red Color In Firebug Console"