Jump to content

bonaca

New Members
  • Posts

    2
  • Joined

  • Last visited

bonaca's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Can not use php to include contact.php? Yes, i can, but in that case I must rearange the entire site. Is there any solution with $.load(), please ?
  2. contact.php ... html form ... $('#submit').click(function(){ $.post("mail.php", $("#contact").serialize(), function(response) { $('#success').html(response); }); return false; }); mail.php is a separate file (for sending mail), and everything works in this arrangement. But I need to load contact.php into index.php $('#divR').load('chapters/contact.php'); so corresponding js line becomes $.post("chapters/mail.php", $("#contact").serialize(), function(response) {... Submitting the form in this case response from mail.php is received, but POST array is empty, i.e. form doesn't send any data to mail.php !?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.