B
BungeeBones
Guest
I think what I have is a simple problem.
I want to convert a portion of a page to AJAX. Currently, the page loads (php) and if there are any data entries according to that page's parameters it will display a link. If the link is clicked it will reload the entire page, plus some new data (because the link was clicked).
So what I need is code that will, on click of that link, echo the value of a php variable holding the data instead of reloading the page.
If someone would have a snippet that would do that I probably can hack it to get it to work but my javascript is pretty limited.
Thanks
I want to convert a portion of a page to AJAX. Currently, the page loads (php) and if there are any data entries according to that page's parameters it will display a link. If the link is clicked it will reload the entire page, plus some new data (because the link was clicked).
So what I need is code that will, on click of that link, echo the value of a php variable holding the data instead of reloading the page.
If someone would have a snippet that would do that I probably can hack it to get it to work but my javascript is pretty limited.
Thanks