Hey guys,
well it seems I have messed up a bit with the development of an AJAX app. I figured it wouldn't be a problem in including Javascript calls in the echo'd requests to my PHP pages. It works great on the home .html page, but is a bigtime no-go on anything else.
So, it seems I'm faced with having to decide between the following approaches.
1) Recode the results into XML, and use eval() to run the javascript part ** Time Consuming to recode and learn this method... any suggestions if I were to take this route? **
or
2) Create a popup window (without using javascript...), or lead the user to another URL, that runs my Javascript stuff that allows for more seamless entry of data... though not using the popup method kind of defeats the point of using it at all.
or
3) Stick with forms and just style the hell out of them
I'm most interested in option #2 - just have the results link to a similar php page that passes the data along, opens in a new window, allows the user to edit the results, then closes the window and updates the database.
Any ideas? Thanks!
well it seems I have messed up a bit with the development of an AJAX app. I figured it wouldn't be a problem in including Javascript calls in the echo'd requests to my PHP pages. It works great on the home .html page, but is a bigtime no-go on anything else.
So, it seems I'm faced with having to decide between the following approaches.
1) Recode the results into XML, and use eval() to run the javascript part ** Time Consuming to recode and learn this method... any suggestions if I were to take this route? **
or
2) Create a popup window (without using javascript...), or lead the user to another URL, that runs my Javascript stuff that allows for more seamless entry of data... though not using the popup method kind of defeats the point of using it at all.
or
3) Stick with forms and just style the hell out of them
I'm most interested in option #2 - just have the results link to a similar php page that passes the data along, opens in a new window, allows the user to edit the results, then closes the window and updates the database.
Any ideas? Thanks!