User Profile

Collapse

Profile Sidebar

Collapse
Suresh
Suresh
Last Activity: Nov 15 '05, 01:45 PM
Joined: Sep 29 '05
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How can I differentiate between the delete and "." key (keycode 46)?

    Hi all,

    Here is my code,

    [CODE=javascript]if(event.which)
    keycode = event.which;//For Mozilla
    else
    keycode = event.keyCode;//For IE
    [/CODE]
    But my problem is, the value of keycode returns 46 for pressing "DELETE" key and "." key.

    How can I differentiate this?

    Please help me with code in both the browsers.

    Thanks...
    See more | Go to post

  • How do I insert a char into the textfield on the keydown event of another textfield?

    How do I insert a char into the textfield on the keypress event of another textfield?

    I have two textboxes, "text1" and "text2".

    [COLOR=DarkRed]Important:[/COLOR]
    "text1" is outside the table.
    "text2" is inside the table cell.

    On the keydown/keypress/keyup event of "text1", the character which I entered in the "text1" must display...
    See more | Go to post

  • Suresh
    started a topic Is Mozilla Supports onBlur event?

    Is Mozilla Supports onBlur event?

    Can anybody tell me that whether Mozilla supports onBlur event?

    I tried onBlur event with IE5 and also with Mozilla. But Mozilla is not supporting.

    Please give me a solution.

    Regards
    Suresh.
    See more | Go to post

  • Suresh
    started a topic How to handle ondrag event in TD ?

    How to handle ondrag event in TD ?

    I have a table.

    Code:
     <table border=1> 
    <tr>
    <td onmousedown="create(this)"></td>
    <td onmousedown="create(this)"></td>
    </tr>
    <tr>
    <td onmousedown="create(this)"></td>
    <td onmousedown="create(this)"></td>
    </tr>
    </table>
    <script language="javascript">
    ...
    See more | Go to post
    Last edited by Niheel; Nov 18 '05, 07:41 AM.
No activity results to display
Show More
Working...