Category Archives: JavaScript
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.
Basic JavaScript Examples
Writing normal text with JavaScript.
Normally every one likes to show their content via HTML web pages with HTML tags. But here i like to write text content inside JavaScript with document object and write property.
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>