SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Mar 2003
    Location
    Melbourne, Australia
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    button not submitting on submit $_GET

    hi all

    i just noticed this weird behaviour on our search page which uses $_GET
    when you hit enter from a text field
    the form submits without the submit button in the querystring

    when you click the button it is in the querystring

    can someone help me out with this
    because i don't get it, i thought it would submit all elements in the form

    now i notice that this is only happening in ie6


    thanks
    dave

  2. #2
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    Parry Sound, ON
    Posts
    725
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, you can never count on the value of the submit button being submitted and you should not code in a way that depends on it.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •