Results 1 to 6 of 6

Thread: What are the different Events in the Javascript?

  1. #1
    Join Date
    Nov 2009
    Posts
    57

    What are the different Events in the Javascript?

    Hi all,

    I need your helps to understand the different events available in the JavaScript. I learning the web designing course . I am getting too much difficulties while understanding the JavaScript concept.
    If anybody has the sound knowledge about the JavaScript events then please let me know. I will appreciate your help.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: What are the different Events in the Javascript?

    Hi Friends,

    following are the events which are available in the events of the Javascript:
    • onSubmit Event
    • onFocus Event
    • onBlur Event
    • onChange Event
    • onMouseOver Event
    • onMouseOut Event
    • onLoad Event
    • onUnload Event

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: What are the different Events in the Javascript?

    I have javascript example which will demonstrate the "onMouseOut" evevt of the javascript:
    <A href="#" onMouseOver="return chngImage()" onMouseOut= "return chngImageBack()" >
    <img name="dmn" src="buyit15.jpg" width="115" height="27" border="0"
    alt="javascript event">
    </A>
    <SCRIPT language="JavaScript">

    function chngImage()
    {
    document.images["dmn"].src= "buyu.jpg";
    return true;
    }
    function chngImageBack()
    {
    document.images["dmn"].src = "buy.jpg";
    return true;
    }
    </SCRIPT>

  4. #4
    Join Date
    Apr 2008
    Posts
    3,295

    Re: What are the different Events in the Javascript?

    The event is the procedure which triggers only when after user click or make any movement over the screen. Following are some example of the triggering events:
    1. A keystroke typing
    2. Any HTML form Submitting
    3. Clicking a mouse
    4. Image loading or web page loading
    5. Selecting HTML form input field
    6. Clicking over web page hot spot

  5. #5
    Join Date
    Nov 2005
    Posts
    3,026

    Re: What are the different Events in the Javascript?

    Example for javascript events:
    <A href="Html page url"

    onMouseOut= "return changeImageBack()"

    onMouseUp="return handleMUp()"

    onMouseOver="return changeImage()"

    onMouseDown="return handleMDown()">

    <img name="jsb" src="IMG.jpg" width="120" height="25" border="0"
    alt="events of javascript ">

    </A>

  6. #6
    Join Date
    May 2008
    Posts
    2,680

    Re: What are the different Events in the Javascript?

    The JavaScript events basically comprises of five different events , which is as follows:

    A. Window Events: Focus, Error , Blur, load unload.
    B. Link Events: mouseOut ,mouseover.
    C. Image Map Events: mouseOut ,mouseover.
    D. Image Events: mouseOut ,mouseover.
    E. Form Events: Focus, Error , Blur, load unload.

Similar Threads

  1. All day events one day out
    By Steadfast in forum Portable Devices
    Replies: 4
    Last Post: 13-10-2010, 11:22 AM
  2. Why we use Events in JavaScript?
    By Samarth in forum Software Development
    Replies: 5
    Last Post: 30-01-2010, 09:15 PM
  3. Javascript Keyboard Events In Iframe
    By Henryosa in forum Software Development
    Replies: 5
    Last Post: 25-01-2010, 02:04 PM
  4. Explain the Timing Events in JavaScript
    By Shaan12 in forum Software Development
    Replies: 5
    Last Post: 19-12-2009, 05:41 AM
  5. What are those controls that do not have events?
    By Chandrakant81 in forum Software Development
    Replies: 3
    Last Post: 27-02-2009, 10:40 PM

Tags for this Thread

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
  •  
Page generated in 1,750,247,160.43567 seconds with 16 queries