ajax form post problem

Posted on 2011-10-15
Last Modified: 2012-05-12
I have a form which is submitted within colorbox using ajax form post.
but it is not submitting to the specified file.
in the firebug it shows the file as [undefined 0ms]
the form is opened in a colorbox.
it is working fine on my localhost, but after uploading to server its not working.
$.post("paypalidstore1.php",        // PERFORM AJAX POST
      $("#paypalidstore").serialize(),      // WITH SERIALIZED DATA OF MYFORM
      function(data){                // DATA NEXT SENT TO COLORBOX
          html:   data,
          open:   true,
          iframe: false,            // NO FRAME, JUST DIV CONTAINER?
          width:  "50%",

Open in new window

Question by:codeoxygen
    LVL 81

    Expert Comment

    pleae provide a link to your page
    LVL 3

    Accepted Solution

    Most probably you have a different webserver configuration on the webserver, you need to know what path to use instead of "paypalidstore1.php". It is hard to guess it unless you provide us with a URL to your page.

    Author Closing Comment

    the answer helped me partially

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
    Introduction HyperText Transfer Protocol ( or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now