Friday, 6 January 2017
What is jquery
jQuery is a lightweight JavaScript library.
The purpose of jQuery is to make it much easier to use JavaScript on your website.
Jquery use its make better and effective our websites
It is esay to use and it is optimize our code.
Mainly use in Effects and animations...
Saturday, 17 December 2016
Thursday, 15 December 2016
Saturday, 10 December 2016
Javascript Regular Expression Email Validate
Validate Email using Regular Expression In JavaScript-
1. Create Input type Text box and and onclick cal checkemail function of Javascriptusing .
2. Define Function in Script with regex expression .
<script>
function checkEmail()
{
email = $('#txtEmail');
filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
...
Thursday, 8 December 2016
Email Validation In JavaScript
We use Validation for Email in Javascript
like in above example
<!DOCTYPE html>
<html>
<head>
<script>
function validateForm() {
var x = document.forms["myForm"]["email"].value;
var atpos = x.indexOf("@");
var dotpos = x.lastIndexOf(".");
if (atpos<1 || dotpos<atpos+2...
Friday, 2 December 2016
Collapse Function Use in Bootstrap.
Defination
1. Collapse Means suddenly fall down.
2. Just add data-toggle="collapse" and a data-target to element to automatically assign control of a collapsible element. The data-target attribute accepts a CSS selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you'd like...