Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Strange Little Problem


JnJSpdShop

Recommended Posts

I have a strange little problem I am trying to solve, and I am stumped.

 

First go to my website J & J Speed Shop

 

When you arrive you will notice it says Please select in the Manufactures drop down box on the left hand side.

 

Now refresh/reload your browser and the box will automatically show Edelbrock. I tried this with both IE and Mozilla. This really has me stumped can anyone help

Link to comment
Share on other sites

I have a strange little problem I am trying to solve, and I am stumped.

 

First go to my website J & J Speed Shop

 

When you arrive you will notice it says Please select in the Manufactures drop down box on the left hand side.

 

Now refresh/reload your browser and the box will automatically show Edelbrock.  I tried this with both IE and Mozilla.  This really has me stumped can anyone help

 

You're right it does do that, now I cant get it to not do it Firefox.

 

So I fired up IE and looked at the page source before refreshing. Couple of things, in your manufacturers <form> there are 2 hidden input fields with the same name. One at the very beginning of the list and one at the very end

 

<input type="hidden" name="osCsid" value="7908b7d3c435ebb855ca630cd7e5f18d" />

 

and

 

<input type="hidden" name="osCsid" value="7908b7d3c435ebb855ca630cd7e5f18d">

 

the top one is correctly formed XHTML the bottom not, not that that matters as either will work but its pointing to them both being programmed to be there. It may not be the cause of the issue but its probably not helping.

 

I noticed your option value for Please Select is a space " ", personally I use "0" as all the others are intetgers why not for that one also. Again may not be the cause of problems but you never know.

 

Obviously we cant see the code that is checking for the $_GET['manufacturers_id'] so it might be handy to post that up for us to look at the logic

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...