Results 1 to 5 of 5

Thread: document.pressed not working in Internet Explorer

Threaded View

  1. #1
    Join Date
    May 2012

    document.pressed not working in Internet Explorer

    Hi ,

    I have 'document.pressed ' checking in my javascript code. Problem is it is working fine in Firefox but not in Internet Explorer. I need to make it work in both the browser.

    My code is as follows :

    function onSubmitForm()
    if(document.pressed == 'Save')
    if(document.pressed == 'Run')
    <input type="submit" value = 'Save'  name='SaVE_RUn'
    	onclick = "document.pressed=this.value">
    <input type="submit" value = 'Run'  name='RUn'
    	onclick = "document.pressed=this.value">
    Please help, Thanks.
    Last edited by myuser; 10-09-2012 at 11:38 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles