In my post.php I use $.ajax function to load some html data from other file lets call it form.html. My question is is it possible form.html to access post.php POST/GET data when is added to the DOM of post.php ?
3
-
1On page load, or when user clicks something?Steven– Steven2010-10-15 13:40:16 +00:00Commented Oct 15, 2010 at 13:40
-
2what do you want to accomplish?Nealv– Nealv2010-10-15 13:41:52 +00:00Commented Oct 15, 2010 at 13:41
-
In post.php I make some form validations. If something is wrong post.php is reloaded again with $_POST data containing data for re-populating fields. Those fields are in form.php which is called via ajaxadaxa– adaxa2010-10-15 13:48:54 +00:00Commented Oct 15, 2010 at 13:48
Add a comment
|