I have three pages. say page1.php , page2.php, page3.php.
I make an ajax request to page2 from page1 开发者_运维技巧to retrieve some data say First_Name...
I need to fetch Last_Name from page3, and return that to either page1 or to page1 via page2...
How is that to be done...??? Tried calling a function in page3 from page2... but that does
not seem to work.................
I agree with Dan Grossman , you need a design change to do the above in much better way.
One or multiple classes, with different functions to accomplish the above is the better approach than to think of pages. I don't see the need why you need to "visit another page" to pull some more data, if this data is available on the server?
精彩评论