Skip to content

Vinod Ram Blog

Creative, Informative and Entertaining Stuff for everyone

Vinod Ram Blog

Creative, Informative and Entertaining Stuff for everyone

  • Home
  • Web Stories
  • Get in touch
  • About
    • Home
    • javascript
ajax General HTML javascript jquery web development

Ajax call using jquery

Vinod Ram September 18, 2019 0 Comments

function makeAjaxRequest(data1,data2,.....,datax){ $.ajax({ 'type':'POST', async: false, url: 'http://www.example.com/some_request_url', data:{param1:data1,param2:data2,....,paramx:datax}, success : function(response) { console.log(response); // Using this you can check the posted data in browser console window return true;// you…

HTML javascript web development

validate mobile number on keypress using jquery

Vinod Ram August 8, 2015 0 Comments

How to validate and restrict unwanted character for mobile or phone number field using jquery $(document).ready(function () { $(‘#mobile’).keyup(function () { var $th = $(this); $th.val($th.val().replace(//g, function (str) { return…

javascript web development

validate zipcode pincode on keypress using jquery

Vinod Ram August 8, 2015 0 Comments

How to validate and restrict unwanted character for zipcode or pincode field using jquery $(document).ready(function () { $(‘#pincode’).keyup(function () { var $th = $(this); $th.val($th.val().replace(//g, function (str) { return ”;…

javascript jquery web development

validate name on keypress using jquery

Vinod Ram August 8, 2015 0 Comments

How to validate and restrict unwanted character for name field using jquery $(document).ready(function () { $(‘#name’).keyup(function () { var $th = $(this); $th.val($th.val().replace(//g, function (str) { return ”; })); });…

web development

To check whether given date is less than current date

March 26, 2008 1 Comments

function IslessThanCurrentYear(year) { var d = new Date(); currentyear = d.getFullYear(); if (year>currentyear) { return false; } else { return true; } }

web development

To check leap year

March 26, 2008 0 Comments

function IsLeapYear(year) { if ((year%4)==0) { if ((year%100==0) && (year%400)!=0) { return false; } else { return true; } } else { return false; } }

Tags

amazon amazon on strike 2024 Anita Bryant Australia bitcoin content Cricket date date validation David Dobrik Death in Paradise delivery Staff donald trumph form validation France gateway timeout Hollywood htaccess javascript jquery Karate laravel Melbourne Cricket Ground microsoft movie Muay Thai Murielle Hilaire netflix ninja form Notre-Dame fire online Shopping Paris php-fpm Singer squid game Stardom suspense Sydney Sweeney thriller usa politics validation website development wordpress yii2 youtuber

Archives

You Missed

General Knowledge International News

Microsoft Makes OpenAI’s $200/Month AI Free for All Copilot Users

General Knowledge International News

अमेरिका-चीन व्यापार युद्ध बढ़ा: नए टैरिफ और जवाबी उपायों से वैश्विक बाजार में उथल-पुथल

International News

Dick Button The Trailblazer Who Revolutionised Figure Skating

Hollywood International News

Selena Gomez was criticised for posting a tearful video on Instagram

Vinod Ram Blog

Creative, Informative and Entertaining Stuff for everyone

Copyright © All rights reserved | Blogus by Themeansar.

  • Terms and Condition
  • Disclaimer
  • Privacy Policy
  • Get in touch