Is AJAX - necessary?
Wolf [ Admin
| Message: 31
| Registered: 28 November 2006
| Website
| E-mail
]
I found a substitute in "zero" frame use. Instead "http...request", I use:
and loads scripts into - with:
Then PHP-script returns values in parent window by:
Most nasty thing in this "technology", that after script' execution remains traces in browser' history, so when you go to previous page by backspace - script executes again. Solution is to replace "ajax" page at the end of PHP-script:
so in history will be left "ajax.php" instead "script.php".
Wolf [ Admin | Message: 31 | Registered: 28 November 2006 | Website | E-mail ]
P.S.. Solution with fake was given in Russian programmer' forum: http://www.forum.vingrad.ru/ by Sardar.
On Saturday, 6 January 2007 [10:56]
Left message
Left message
I found a substitute in "zero" frame use. Instead "http...request", I use:
and loads scripts into - with:
Then PHP-script returns values in parent window by:
Most nasty thing in this "technology", that after script' execution remains traces in browser' history, so when you go to previous page by backspace - script executes again. Solution is to replace "ajax" page at the end of PHP-script:
so in history will be left "ajax.php" instead "script.php".
Wolf [ Admin | Message: 31 | Registered: 28 November 2006 | Website | E-mail ]
On Saturday, 6 January 2007 [10:59]
Left message
Left message
P.S.. Solution with fake was given in Russian programmer' forum: http://www.forum.vingrad.ru/ by Sardar.