[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

ajax form post problem

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

1 Solution
pleae provide a link to your page
Piotr DCommented:
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.
codeoxygenAuthor Commented:
the answer helped me partially

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now