Hello this is a simple tutorial which shows how to add a popup window using javascript Add the below javascript code on your webpage. <script language="javascript" type="text/javascript"> var win= null; function OpenNewWindow(mypage,w,h,myname){ var winl = (screen.width-w)/2; var wint = (screen.height-h)/2;... (Continue reading)
Here is a very simple but a powerful idea of checking whether your client’s browser is javascript enabled or not Just add tag <noscript> SOME WARNING MESSAGES </noscript> On your webpage simple, a sample is given below <noscript> <span style="color:... (Continue reading)
Hello Guys…Here i am back again with yet another simple tutorial on how to replace non alphanumeric characters using javascript. Powered by Adsense Poster <script language="JavaScript"> var temp = new String('This is a te!!!!st st>ring... So??? What...'); document.write(temp + '<br... (Continue reading)
This is a very simple code to remove non alphanumeric charecters from a variable using php. THE CODE < ?php $str = "Here! are some numbers 1244 and some non alphanumeric charecters !£$%^&"; $new_string = preg_replace("/[^a-zA-Z0-9\s]/", "", $str); echo $new_string;... (Continue reading)
This is a simple tutorial on how to get a dropdown list value using simple ajax and php Create a html page named country.html and add the below codes, HTML CODE <select name="country" onChange="getCurrencyCode('find_ccode.php?country='+this.value)"> <option value="">Select Country</option> <option value="1">USA</option> <option... (Continue reading)