Tag Archives: Cascading Style Sheets

04Apr/13

HTML5 JavaScript Pasting Image Data in Chrome

Send money for FREE Pasting anything other than simple text into the browser has historically been stupendously impossible. Until now… It’s a miracle, image data pasted into the browser can be retrievedRead More…

17Nov/12

Javascript function to check if a field input contains letters and numbers only

// Function to check letters and numbers function alphanumeric(inputtxt) {  var letterNumber = /^[0-9a-zA-Z]+$/;  if((inputtxt.value.match(letterNumber))   {    return true;   } else   {    alert(“message”);    return false;   }   } To get a string contains only letters and numbers (i.e. a-z, A-Z or 0-9) we use a regularRead More…