library icon indicating copy to clipboard operation
library copied to clipboard

Open barcode result in new window

Open gonkie-be opened this issue 3 years ago • 3 comments
trafficstars

How i can open the result of the barcode-scan in a new window?

If i use:

	<form  action="controlephp.php" method="post">
	  <input id="result" type="text" name="result"  value="">
	</form>
            ...
            document.getElementById('result').value = result.text
	document.forms[0].submit();

It opens in the same window.

if i put target="_blank" in form, i have a scan result but the form is not submitted anymore.

thanks

gonkie-be avatar Apr 18 '22 08:04 gonkie-be

How about <input type='submit' value='Submit' onclick="this.form.target='_blank';return true;">

trasherdk avatar May 05 '22 06:05 trasherdk

Stale issue message

github-actions[bot] avatar Apr 29 '24 10:04 github-actions[bot]

@.*** is niet meer actief. U kan uw mail voor VMT verzenden naar @.***

gonkie-be avatar Apr 29 '24 10:04 gonkie-be