Detect Change in form fields
<script type=”text/javascript”> var formChanged = false; jQuery(window).load(function() { // This is triggered when the entiire page is loaded fully // form id and all the possible filed type in that…
<script type=”text/javascript”> var formChanged = false; jQuery(window).load(function() { // This is triggered when the entiire page is loaded fully // form id and all the possible filed type in that…
How to use “grep” command in linux or macos to find text inside all files in a folder and including subdirectories Command for the same is grep -rl "string to…
function makeAjaxRequest(data1,data2,.....,datax){ $.ajax({ 'type':'POST', async: false, url: 'http://www.example.com/some_request_url', data:{param1:data1,param2:data2,....,paramx:datax}, success : function(response) { console.log(response); // Using this you can check the posted data in browser console window return true;// you…
function validateEmail(email) { var emailReg = /^(+@(+\.)+{2,6})?$/; return emailReg.test(email); } Usage:- if(validateEmail(emailString)){ alert('Your email is valid'); } else{ alert('Your email is not valid! There should be atleast @ and one…
Use “Command”+”Shift”+”.(dot)” to enable display of hidden files To hide just press the above three button again. Vinod RamVinod Ram has been in Software Industry since 2006 and has experience…
Hacktivist group Anonymous, which has been responsible for cyber-attacks on the Pentagon, News Corp, and others, has vowed to destroy Facebook on November 5th (which should ring a bell). Citing…
1. Who is Anna Hazare? An ex-army man. Fought 1965 Indo-Pak War 2. What’s so special about him? He built a village Ralegaon Siddhi in Ahamad Nagar district, Maharashtra 3.…
LONDON (Reuters Life!) – A specialist ice cream parlour plans to serve up breast milk ice cream and says people should think of it as an organic, free-range treat. The…