No announcement yet.

IE8/jQuery Not Playing Ball

  • Filter
  • Time
  • Show
Clear All
new posts

  • IE8/jQuery Not Playing Ball

             function(html){ alert(html); },
      return false;
    The 'dosomething.php' script returns '1' on success, or an error message on failure (for example, 'Invalid email address'.) However when the script is going to return '1' (ie. it succeeds) IE8 ignores the 'return false;' line and sends the visitor to the script directly... any ideas why this would be? Doesn't happen in anything else I've tested

  • #2
    The only help I can offer is that you should be using the .submit() function on the form element, not a click function on the submit button.

    Other than that, I'm not really sure what you're doing. Why validate the form with PHP?

    There are loads of jQuery validation plugins (scripts) out there.
    Last edited by vanishdesign; 09-15-2009, 09:58 AM.
    Swedish Meatball Pornography


    • #3
      Dah, sometimes I really should RTFM. That fixed the issue, all works perfectly now, thanks a lot

      (And I'm using PHP for compatibility; I'll add some pretty client-side validation later...)






      Latest Topics


      • seamas
        Comment on Advice on if a design would work in the US?
        Yeah, that was sort of my point.

        I encountered a woman last week who was praising Vlad Putin--and how "strong" he is, and how "popular" he is.
        Today, 10:45 AM
      • kemingMatters
        Comment on Business card critique wanted.
        At large size, I would agree, however, at just under 2'' square, I disagree.
        Today, 10:41 AM
      • kemingMatters
        Comment on Advice on if a design would work in the US?
        Source quality comes into question here, although Kim Jong-un did inspire a golf game where a hole-in-one is guaranteed every time...

        I'm willing to bet most of those people are divided too,...
        Today, 10:36 AM
      • hyena
        Comment on Useful skills to learn?
        Designing wraps is usually done in Illustrator, there's a website where you can get every type of car, with all sides. My last internship usually used that.

        You'd also need some knowledge...
        Today, 10:11 AM
      • seamas
        Reply to Advice on if a design would work in the US?
        No, just the democracies.

        The Nations with unity are places like N. Korea, Russia, Saudi Arabia, Iran. They all have 99% of the support of the people!
        (At least that is the official...
        Today, 09:52 AM

      GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright 2016 Mediabistro Holdings