/    Sign up×
Community /Pin to ProfileBookmark

event.returnValue in firefox

In IE
we can use event.returnValue=false to terminate a default event
What is the equivalent codes for firefox 1.0.3 and older version?

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@timetravelerOct 10.2005 — I'm looking for the equivalent as well.

This should be easy, folks!
Copy linkTweet thisAlerts:
@baconbuttyOct 10.2005 — 
This should be easy folks!
[/QUOTE]


Makina's thread contains everything you need.

If you are familiar with the event model in Firefox, then you will know that an event object is supplied to the event handler. One of the methods of that event object is preventDefault() which is the equivalent of window.event.returnValue=false.
Copy linkTweet thisAlerts:
@kalvenkuOct 10.2005 — My code

<select name=<%=JspKeys.MTYPE%> class="formInputBox" onChange="reLoadOnChange()" >

<option>-----</option>

In the form when i press the reset button combo box values not changed..

plz send with expression
Copy linkTweet thisAlerts:
@baconbuttyOct 12.2005 — 
  • 1. Your question is nothing to do with this thread. I suggest you post it as a new thread.


  • 2. Your question contains so little information that it is impossible to answer as it stands.
  • ×

    Success!

    Help @jack1234 spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...