I have a site where you click on a product name and it launches a URL with a filter and it returns forum posts relevant to that product name:
E.g. www.google.com/product?=blah
Instead of having to navigate to this URL is it possible to launch it in a DIV dynamically rather than the user having to click a link. Looking to develop a dashboard type view.
asked Aug 9, 2010 at 14:49
CLiown
13.9k51 gold badges129 silver badges206 bronze badges
2 Answers 2
its easy :)
$.get('ajax/test.html', function(data) {
$('.result').html(data);
alert('Load was performed.');
});
see more here http://api.jquery.com/category/ajax/
answered Aug 9, 2010 at 15:08
thecodeassassin
83610 silver badges26 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
You need AJAX. You can use JQuery to perform AJAX queries to a PHP website.
answered Aug 9, 2010 at 14:51
Pablo Santa Cruz
182k33 gold badges250 silver badges300 bronze badges
Comments
default