Click to See Complete Forum and Search --> : Basic JavaScript search with iframes.


gkirk
11-06-2003, 10:20 AM
Hi all,

Can anyone help me figure out what is wrong with the javascript on this page: www.simplyonline.net/basic.html (http://www.simplyonline.net/basic.html).

i only get one result and the message in the left iframe only appears when the page is refreshed??

Thanks,

Greg

skriptor
11-07-2003, 01:51 AM
Hi,
add this row

parent.selection.document.close();
to function doSearch();

Good luck, skriptor.

gkirk
11-07-2003, 06:01 AM
Thanks that worked.

But the iframe on the right is still not working properly. I want it to list all the products that match the criteria but it only ever shows one result I think there must be something wrong with the loop??

gkirk
11-08-2003, 06:43 AM
Anyone?