Changing an ajax-triggered field in Firefox doesn't work properly
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Changing an ajax-triggered field in Firefox doesn't work properly

  1. #1
    Join Date
    Feb 2004
    Location
    Bristol, England
    Posts
    66

    Changing an ajax-triggered field in Firefox doesn't work properly

    Hi,

    I have a problem with an ajax triggered field in Firefox. The ajax it is working fine, but there seems to be a very curious thing happening in Firefox that doesn't happen in the other browsers.

    When I change the field value in the browser (not from within code) from nothing to something, the field doesn't trigger. However, any other combination (i.e. from a value to another value or from a value to spaces), does trigger the field.

    Has anyone come across this behaviour with Firefox and found a solution to it?

    Debbie
    QuicknEasySalesPro.com
    - your quick and easy, yet powerful solution for managing your
    membership site sales, downloads and affiliates.

  2. #2
    Join Date
    Mar 2007
    Location
    Montreal, Quebec, Canada
    Posts
    185

    Re: Changing an ajax-triggered field in Firefox doesn't work properly

    If you're using onchange, Firefox doesn't trigger the event until the focus leaves the field. You should use onkeyup instead if you want the event to fire whenever the user types something.

  3. #3
    Join Date
    May 2006
    Posts
    306

    Re: Changing an ajax-triggered field in Firefox doesn't work properly

    Quote Originally Posted by IllegalCharacter
    If you're using onchange, Firefox doesn't trigger the event until the focus leaves the field. You should use onkeyup instead if you want the event to fire whenever the user types something.
    Yeah, i hate that when i first tried the onchange in a textbox.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center