Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. javascrpt keypress probelm ie7

javascrpt keypress probelm ie7

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavascriptasp-net
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vnsraj
    wrote on last edited by
    #1

    Hi All, I need your help. I developed a mobile web page for pda in asp.net 2.0. From the page user enter the 10 digit barcode number and get the result. My problem is that I am doing auto submit process or OnKeyPress function. When user enter 10 digit number then my JavaScript function called button click event. But its called twice in IE7, its working fine in firefox. Problem is in IE7 browser. My JavaScript code given below. function ScanTiket() { var val=document.getElementById('ctl00_tbBarCode').value; if(val.length==10) { //alert(val.length); var ele = document.getElementById('ctl00_btnGetRecords'); if ((ele !== null) && (ele != 'undefined')) { ele.click(); } } else { return false; } } please help me out. Thanks Rajesh....

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups