How to create sticky navigation menu

How to create sticky navigation menu Many websites use a “sticky” feature in their main navigation menu. The menu scrolls with the page, then sticks to the top once it reaches the top of the view-port. There are lots of jQuery plugins we can use to display a sticky navigation, but in this short tutorial, […]

Javascript code for validate radio button

Javascript code for validate radio button <html> <head> <script> function Submit(){ if(document.form.radiobutton[0].checked == false && document.form.radiobutton[1].checked == false){ document.getElementById(“errorBox”).innerHTML = “select your gender”; return false; } } </script> </head> <body> <form name=”form” > <input type=”radio” name=”radiobutton” value=”Female”> <label >Female</label> &nbsp;&nbsp;&nbsp; <input type=”radio” name=”radiobutton” value=”Male”> <label >Male</label> <div> <p id=”sign_user” onClick=”Submit()”>Sign Up </p> </div> </form>

Javascript code for prevent user to enter only alphabet’s

This is a javascript code for prevent user to enter only alphabet’s in a textbox….. <html> <head> <script type=”text/javascript” src=”http://code.jquery.com/jquery-1.8.2.js”></script> <script> function Submit(){ var fnameRegex = /^[a-zA-Z]*$/; var lnameRegex = /^[a-zA-Z]*$/; var fname = document.form.Name.value, lname = document.form.LastName.value; if( fname == “” ) { document.form.Name.focus() ; document.getElementById(“errorBox”).innerHTML = “enter the first name”; return false; }else […]

JavaScript code for prevent user to enter valid email address

JavaScript code for prevent user to enter valid email address <html> <head> <script type=”text/javascript” src=”http://code.jquery.com/jquery-1.8.2.js”></script> <script> function Submit(){ fcontact=document.form.contact.value; var emailRegex = /^[A-Za-z0-9._]*\@[A-Za-z]*\.[A-Za-z]{2,5}$/; femail = document.form.Email.value, freemail = document.form.enterEmail.value; if (femail == “” ) { document.form.Email.focus(); document.getElementById(“errorBox”).innerHTML = “enter the email”; return false; }else if(!emailRegex.test(femail)){ document.form.Email.focus(); document.getElementById(“errorBox”).innerHTML = “enter the valid email”; return false; } […]

JavaScript code for prevent user for enter only numbers

JavaScript code for prevent user for enter only numbers This is a JavaScript code for prevent user for enter only numbers in text box…… <html> <head> <script type=”text/javascript” src=”http://code.jquery.com/jquery-1.8.2.js”></script> <script> function Submit(){ fcontact=document.form.contact.value; if( fcontact == “” ) { document.form.contact.focus() ; document.getElementById(“errorBox”).innerHTML = “enter the contact number”; return false; } } $(function () { $(‘#contact’).keydown(function […]

How to apply required validation on select box

Is to difficult to apply required validation on select box but it is very very simple just you have need little knowledge of HTML5 or HTML5 form. If you know how to set required validation on text box in html5 form then it is very simple but if you don’t know don’t worry we will […]

How to apply validation accept only numbers using javascript

Do you know how to apply validation accept only numbers using javascript, if not dont worry i have very simple code for you to aaply security as well as apply validation on number ( Mobile, phone, roll Number etc. ) field. You can use this java script code use to apply validation on Mobile Phone […]

How to apply validation accept only string using JavaScript

How to apply validation accept only string using JavaScript Do you know how to apply validation accept only string using javascript, if not dont worry i have very simple code for you to aapy security as well as apply validation on name or string field. You can use this java script code use to apply […]

PHPKIDA Offering Free Tools:

INSTA DOWNLOADER

Download Instagram Videos & Photos.

Download Now

CURRENCY CONVERTER

Real Time Currency Converter

Convert Now

ROBOST.TXT GEN.

Robots.txt File Creater

Create Now

HTML MINIFIER

Compress yout HTML Code

Minify Now

CSS MINIFIER

Compress yout CSS Code

Minify Now

JAVASCRIPT MINIFIER

Compress yout JavaScript Code

Minify Now

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.