0 Replies Latest reply on Jun 18, 2015 2:06 AM by mj

    Meta Tag Scanner Navigate - Event is not working

    Rookie

      This example code snippet is not working. Can any one suggest what needs to corrected in the below code or any configuration need to set?

       

      Head Section

        <meta http-equiv="Scanner" content="Enabled">
      <meta http-equiv="ScannerNavigate" content="Javascript:onscan('%s', '%s','%s');">

      Javascript:
      <script language="javascript">
            function onscan(data, type, timestamp)
            {
                 alert("The barcode scanned was " + data + "\n" +"The symbology was " + type + "\n" +"The time stamp was " + timestamp);

                 document.form1.submit();
            }
      </script>