Category Archives: Javascript

HTML5 AJAX Responsive Contact Form With Google Maps

HTML5 AJAX Responsive Contact Form With Google Maps In this post we will discuss how to create a HTML5 AJAX Responsive Contact Form With Google Maps.I am using PHP as back end technology but you can use what ever you want. We are doing form validation in both HTML5 as well as jQuery(JavaScript) level but if you want you

Allow Only Alphabets In Textbox Using JavaScript

Allow Only Alphabets In Textbox Using JavaScript In this post we will discuss how to Allow Only Alphabets In Textbox Using JavaScript.I have already discussed Allow Only Numbers In Textbox Using JavaScript.I am using jQuery for this to achieve. Code: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Allow Only Alphabets In Textbox Using JavaScript</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script> <script type="text/javascript"> $(function ()

jQuery Validate Registration Form

jQuery Validate Registration Form In this post we will learn how to validate registration form through jQuery or jQuery Validate Registration Form. Design: <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1"> <title>jQuery Registration Form Validation</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script> <script language="javascript" type="text/javascript"> $(function() { $(‘#validate’).click(function() { var msg = ""; msg+= isvalidusr(); msg+= isvalidFname(); msg+= isvalidLoc(); if (msg != "") {

Show Hide Div Content Using Jquery

Show Hide Div Content Using Jquery Hi Guys, in this tutorial we will explain how to Show Hide Div Content Using Jquery.We have used Jquery to accomplish this.we are just hiding and showing the content of contained by DIV, on button click event. Download Jquery Library from here: Download Html: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Show/Hide

How to find same word in paragraph through JavaScript

How to find same word in paragraph through JavaScript In this tutorial we will learn How to find same word in paragraph through JavaScript. When you search in a paragraph, you can use a pattern to describe what you are searching for.Some time it is very useful. Here a simple script to help you through JavaScript: <html> <body><script

How to use time function in javascript

How to use time function in javascript In JavaScript, we are able to execute some code after a specified time-interval. This is called timing events in javascript. It’s very easy to time events in JavaScript. The two key methods that are used are: setTimeout() clearTimeout() Code for thr following is:- <html> <head> <script type="text/javascript"> function Timeevent()