dotkpay Posted June 14, 2011 Share Posted June 14, 2011 Hello, Could someone please show me how to make the onclick event of a link to load a url without opening the link. Inotherwords the link should send GET variables to a php script but still remain on the original page and not bother exposing the link. (Maybe the link would open in a hidden <div> on the page and the php script would not have any output statements) Thanx in advance Quote Link to comment https://forums.phpfreaks.com/topic/239329-jquery-load-url/ Share on other sites More sharing options...
Adam Posted June 14, 2011 Share Posted June 14, 2011 Take a look at the jQuery.ajax API. It's very simple to use. Quote Link to comment https://forums.phpfreaks.com/topic/239329-jquery-load-url/#findComment-1229485 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.