javascript - Send user to a new page via JS -
we submitting data , showing result in a alert box, want send user page(response.php?r=result) instead of showing alert.
the code using below
function (result) { settimeout(function() { alert("we got barcode\n" + "result: " + result.text + "\n" + "format: " + result.format + "\n" + "cancelled: " + result.cancelled); }, 0); },
many in advanced help
how that
location.href = 'response.php?r=' + json.stringify(result);
?
Comments
Post a Comment