tags:

views:

43

answers:

2

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  A: 

Why don't you use $.ajax to post to a php file, which returns html data. this way you can fill in your posted data in the html.

Nealv
A: 

I am not clear with what you are trying to do. But regardless you can still access the $_POST[] data from any DOM element on page load.

tsegay