<script> jQuery(document).ready(function(e) { $(document).bind("contextmenu",function(e){ return false; ...
Wednesday, 14 January 2015
How to disable the F12 key
satish mallick
January 14, 2015
<script> document.onkeydown = function(e) { // keycode for F5 function if (e.keyCode === 116) { return false; ...
Embedding extra styles with noscript(Javascript)
satish mallick
January 14, 2015
<script> document.write("<link href='css/css.css' rel='styleSheet' type='text/css' />"); --...
Sunday, 11 January 2015
Count number of word from given string using javascript
satish mallick
January 11, 2015
<script> var str = "satish mallick." ; var wordCount = str . match ( /(\w+)/ g ). length ; alert ( wordCount ); &l...
Thursday, 8 January 2015
Write a JavaScript program to construct the following pattern, using a nested for loop. * * * * * * * * * * * * * * *
satish mallick
January 08, 2015
var x,y,chr; for(x=1; x<=6; x++) { for (y=1; y<x; y++) { chr=chr+("*"); } console.log(chr)...
Saturday, 3 January 2015
On focus Clear input filed value using javascript
satish mallick
January 03, 2015
< input type =" text " onblur =" unblank(this) " onfocus =" blank(this) " value =" Email Addr...
Monday, 29 December 2014
Validate Data using javascript
satish mallick
December 29, 2014
<body onload="on()"> <p>Please input a number between 1 and 10:</p> <input type="text" id=&quo...