Posts Selected From the Category "JavaScript"

How to get browser name and version using JavaScript

in JavaScript / 1 Comment

Hi friends, In this post I am going to explain about how to get the browser name and there version using simple JavaScript function. JavaScript Code function detectBrowser(){     var N= navigator.appName;     var UA= navigator.userAgent;     var temp;     var browserVersion= UA.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);     if(browserVersion && (temp= UA.match(/version\/([\.\d]+)/i))!= null)  

…continue reading the post “How to get browser name and version using JavaScript”

Code snippets of PHP and Javascript

in JavaScript, PHP Code / 4 Comments

Hi friends, this post explains about few code snippets used when we develop a web applications. Snippet 1 : Generate the random numbers with limits and those numbers shouldn’t be repeat using PHP PHP Code <?php $num=range(1,10);    shuffle($num);    for ($i=0; $i<10; $i++) {             echo $num[$i];    

…continue reading the post “Code snippets of PHP and Javascript”

How to generate clean url with PHP or Javascript

in JavaScript, PHP, PHP Code, Style & Scripts / 1 Comment

Hi friends, this is very basic post but useful for many websites. Following scripts will convert text into clean url using php script and another script using javascript. This script will remove unnecessary texts from the string and generate the url. Script 1 : Clean URL using PHP code <?php         function

…continue reading the post “How to generate clean url with PHP or Javascript”

How to build virtual keyboard for your web application

Hi, In this post i am goig to explain about How to build virtual keyboard for your web application using google api. I got an request from users how to type hindi words in the web page. By using this code we can easily build the application your own language. ( Google support few languages

…continue reading the post “How to build virtual keyboard for your web application”

How to convert feeds to html using javascript and php

Hi friends, in this post i am going to explain about how to convert feeds to html using javascript and php. Just provide feed url and get the list of entries and description from the feeds. In my previous post explained about steps to implement and hosting your website in google app engine for free.I

…continue reading the post “How to convert feeds to html using javascript and php”

Steps to implement and hosting your website in google app engine for free

Hi, In this post i am going to explain simple steps to implement and hosting your website in google app engine for free. There are many hosting servers hostgator,godaddy … etc. But we have to pay amount them for hosting space.Google is providing a free hosting space with 1 GB daily bandwidth. It will be

…continue reading the post “Steps to implement and hosting your website in google app engine for free”

PHP Captcha and reCaptcha options for web forms using javascript

in JavaScript, PHP Code / 2 Comments

Hi friends, This is a simple code to build a captcha code with recaptcha options with simple javascript and PHP code. Now a days SPAM messages are increasing. To stop the SPAM and validating the forms with using this simple captcha code. This post explains how to build a simple captcha using javascript, php with

…continue reading the post “PHP Captcha and reCaptcha options for web forms using javascript”