0

I'm having a strange problem with my search results page when i search i get this in the URL http://f.cl.ly/items/2Z1c1b2G1n0B3r3W063B/Screen%20Shot%202011-09-29%20at%201.21.19%20PM.png "see the X & Y" ? i don't know where do they came from & i can't seem to figure how to fix it & it breaks my pagination, so how can i fix this ?

Thanks

1

You must be using an image button for your submit. It sends the x and y coordinates of where the button was clicked as well as any other get parameters. I would recommend using a standard submit button and then use CSS to replace it with an image. Alternatively if you don't know CSS a button tag with an image inside it should work eg:

<button type="submit"><img src="search-button.png" alt="search" /></button>
  • I'm using <input type="image" /> not a <button> – ahmedelgabri Sep 29 '11 at 12:09
  • Actually using a <button> with an image inside it fixed it – ahmedelgabri Sep 29 '11 at 12:27
  • @gabri I know it wasn't a <button> you were using initially. What I meant was if you use <input type="image" /> it will send the X & Y corodinates of where you clicked on the image input as GET parameters. – sanchothefat Oct 5 '11 at 9:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.