i’ve used jquery load method for a website pagination
here is my code
function next_page(page)
{
$('.aloder').fadeIn(100);
$('.maindiv .product-big').fadeOut(400);
$('.maindiv').load('http://www.tehrantbl.ir/productlist.php?neshani=<?php echo $_REQUEST['neshani']; ?>&page='+page+' .maindiv');
}
for some reason it doesn’t work in IE but it works fine in FF
the page has bad html design in term of using tables instead of divs to show the items
but i dont think that’s the problem .
here is the live site
to see the problem search this word and go to page 2
همت
Try to use to encodeURIComponent() to encode the user-input:
The result would be:
http://www.tehrantbl.ir/productlist.php?neshani=%D9%85%D8%AA&page=2 (works for me)
instead of:
http://www.tehrantbl.ir/productlist.php?neshani=همت&page=2(did not work)