Posted by Toby Inkster on 05/29/06 00:39
pepito3 wrote:
> So imagine the file is product_list.php and the link is: <a
> href="add_product.php?code=...> Buy </a>. I want the code in
> add_product.php to be executed but I want the navigator to display the
> same page it is displaying at the moment (product_list.php or
> whatever).
Google for "AJAX" but be aware that browser support is not 100%. If using
AJAX, it's a good idea to have the regular old links kick in for those
browsers that don't support it (or have Javascript disabled), which isn't
as tricky as it sounds.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|