I am trying to replace an iframe, essentially. I would like to load the result of a php page into a div. The results are being parsed through URL – http://example.com/view.php?id=1 – for exmaple. Sorry, I don’t have much experience with javascript.
The closest example I could find is here: http://www.w3schools.com/PHP/php_ajax_database.asp
But that is for a select box.
Could anyone else possibly?
If you want to use it as a link then the lazy solution is:
Or even with the good ol javascript pseudo URI: