PDA

View Full Version : post value to box page, control box page without refresh main page.



youlichika
12 May 2011, 07:09 PM
I want make a products show page.

one is index.php, another is search.php (as a jquery box page). index.php have some products catagory lists, click each product catagory item will pass each value to search.php. search.php will make a mysql query and show products details and it also has a search box.(search.php can turn page show multi products, the search result looks like similar as a jqeury gallery...).

I need do any thing in search.php but without refresh index.php.

I find some site like my request. http://powerwall.msnbc.msn.com/. you can try in there. (in the main page, he has many pictures, but I replace into many word links). click each link, open a box page.(may be in this step he use statics page, but I use a mysql query, query out all this kind of products) Then make anything in box page, the main page without refresh. The next fuction, we both are similar. box page also have a search function. see his top bing search.

I have no idea how to combine js, pass value, get value can reach this effection. So, is there anyone know how to do, and give me some simple code? many thanks.