about 7 years ago
<html> <head> <Title>Demo Script</Title>
<script type="text/javascript"> function TrialScript() { if (confirm('Are you sure you want to proceed?') == true) { document.getElementById('Hidden1').value = 'yes'; } else { document.getElementById('Hidden1)'.value = 'no'; } } </script>
</head>
<body onload="TrialScript();">
<input id="Hidden1" type="hidden" />
</body>
</html>
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
1 Answer(s)