Monthly Archives: September 2013

disable back button functionality With JavaScript

                                                                       Disable Back Button Functionality <HTML> <HEAD> <TITLE>Disable Back Button in Browser</TITLE> <STYLE>body,input{font-family:Calibri,Arial}</STYLE> <script type=”text/javascript”>     function clickLink() {         document.getElementById(“link”).click();     } </script> <body onload=”clickLink()”> <a id=”link” href=”#” /> <H2>BackButtonRestrict</H2> </BODY> </HTML> With Regards RAJ9992 Advertisements

Posted in Uncategorized | Tagged | Leave a comment


<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “”&gt;<html> <head>  <title> New Document </title>  <meta name=”Generator” content=”EditPlus”>  <meta name=”Author” content=””>  <meta name=”Keywords” content=””>  <meta name=”Description” content=””> </head><script>function ValidateEmail(inputText)  {  var mailformat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;  if(inputText.value.match(mailformat))  {  document.form1.text1.focus();  return true;  }  else  {  alert(“You have … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

javascript to get value of File in Html with in the Page

<html> <head> <title> New Document </title> <meta name=”Generator” content=”EditPlus”> <meta name=”Author” content=””> <meta name=”Keywords” content=””> <meta name=”Description” content=””> </head> <script > function Check() { var name=document.getElementById(‘INPUT’).value; alert(name); document.getElementById(‘OUTPUT’).innerHTML=name; } </script> <body> <input type=”file”  id=’INPUT’  value=””  > <input type=”button”  value=”Check”  onclick=”Check()” … Continue reading

Image | Posted on by | Leave a comment

Disable Back Button in Browser With JavaScript

Disable Back Button in Browser With JavaScript <HTML> <HEAD> <TITLE>Disable Back Button in Browser</TITLE> <STYLE>body,input{font-family:Calibri,Arial}</STYLE> <script type=”text/javascript”>window.history.forward();function noBack(){window.history.forward();}</script> </HEAD> <BODY onload=”noBack();” onpageshow=”if (event.persisted) noBack();” onunload=””> <H2>BackButtonRestrict</H2> <p>This page contains the code to avoid Back button. </p> <p>Click here to Goto … Continue reading

Posted in JavaScrpit | Tagged | Leave a comment

Constructor and Destructor of Java

Constructor and Destructor of Java Intriduction of constructor. Constructor and destructor are two important concepts of object oriented programming language. Constructor is nothing but a special type of member function that invokes automatically when the object is created of the … Continue reading

Posted in Java Concepts | Leave a comment

SpringEasytoLearn Adviser

Posted in Tutorial Links | Leave a comment

Disable RightClick Mouse and Disable Print Screen Key…Using JavaScript

 How To Block Print Screen As well As Mouse functionalities With Java Script <html> <head>  <script language=”Javascript1.2″> am = “This function is disabled!”; bV  = parseInt(navigator.appVersion) bNS = navigator.appName==”Netscape” bIE = navigator.appName==”Microsoft Internet Explorer” function check(e) {    if (bNS … Continue reading

Posted in JavaScrpit | Tagged | 3 Comments