Tag Archives: JavaScript
Window.captureEvents() DOM Event Method
This captureEvents() thia JavaScript function is used to get the events occurred like mouse click, mouse move, resize etc. inside browser view area. This function is supported only in Firefox browser.
Use of Noscript Tag
Noscript tag is used when ever client side browser does not JavaScript or VBScript in that situation you can use <noscript> tag which displays the content inside <noscript> tag whenever JavaScript is not supported in client browser.
Auto Form Submit in Drop Down Item
It’s simple to submit a form easily with the help of submit button, which will submit the data to process further. But in drop down item after selecting an option, we have to click submit button to submit form.
JavaScript Statement, Block and Comments
JavaScript can be stated as a statement or block, Statement which does not contains open braces and close braces . Example for statement <script type=”text/javascript”> document.write(“Statement”); </script> Example for block <script type=”text/javascript”> { document.write(“Block”); } </script>