Author |
Topic |
|
Sabhuku
Starting Member
USA
22 Posts |
Posted - August 12 2008 : 23:45:10
|
When I do a catalogue search on our website using Internet Explorer 7 and or Safari 3, say for a general term like "six sigma books", the first results lists all the products we have in our catalogue (228 pages of products). However, when I repeat the same search again for the same phrase or keyword immediately afterwards, I get the correct result (1 page).
I do not have these issues when I do the catalogue search in Mozilla Firefox 3.
Does anybody have an idea as to what is causing these browser inconsistencies and how I can fix them? Thank you.
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - August 13 2008 : 04:45:27
|
It sounds like a missing or spurious form tag; try doing a view-source when on the page which causes the error and searching for: <form> and see if there's a corresponding: </form> after each one; usually this problem happens when you forget to close a form tag.
some browsers can cope with incorrect form tags (not sure how, but somehow some browsers/versions seem to be able to "guess" correctly which field belongs to which form, and some can't)
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
|
|
Sabhuku
Starting Member
USA
22 Posts |
Posted - August 14 2008 : 04:05:02
|
According to what you are saying, I may have found the problem. The following code is present on all our pages:
------------ BEGINNING OF CODE ------------
<td width="355"> <form method="POST" action="http://www .... .net/shop/shopsearch.asp?search=Yes"> <p> <input type="text" name="keyword" size="20"> <input type="submit" value="Catalogue Search" name="B1"> </p> </form> </td> <td valign="top" top width="93"><a href="http://www.bbbonline.org/cks.asp?id=102021412335321699" TARGET=new> <img src="http://www .... .net/imgs/reliabilityseal4.gif" alt="BBBOnLine Reliability Seal" align="right" BORDER=0 width="90" height="31"></a></td> </tr> </form>
------------ END OF CODE ------------
As you can see, the final </form> has no corresponding <form> anywhere. Might this be the cause of this problem? Thank you. |
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - August 14 2008 : 05:15:35
|
yes; that'll be the problem; there is a spurious/extra form end tag at the end; it's probably that bit which is causing the problem.
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
|
|
Sabhuku
Starting Member
USA
22 Posts |
Posted - August 17 2008 : 00:08:14
|
Thank you! |
|
|
|
Topic |
|