Thursday, 19 June 2014

jQuery Date picker ui select date range picker

Jquery UI Datepicker select date range between Two days
$( "#start_date" ).datepicker({
   minDate: new Datenew Date(1999, 10 - 1, 25),
   maxDate: new Datenew Date(1999, 10 - 1, 30),
   defaultDate: "+1w",
   changeMonth: true,
   numberOfMonths: 2,
   onClose: function( selectedDate ) {
      $( "#end_date" ).datepicker( "option", "minDate", selectedDate );
   }
});

$( "#end_date" ).datepicker({
   minDate: new Datenew Date(1999, 10 - 1, 25),
   maxDate: new Datenew Date(1999, 10 - 1, 30),
   defaultDate: "+1w",
   changeMonth: true,
   numberOfMonths: 2,
   onClose: function( selectedDate ) {
      $( "#start_date" ).datepicker( "option", "maxDate", selectedDate );
   }
});

Wednesday, 18 June 2014

Enter Integrr Number only


Enter Integer only in text fileds
onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"

Thursday, 12 June 2014

How to Get a Google Adsense Account Approval

1. Create a Blog or a website.
2. Upload genuine content
3. Upload more and more relevant content
4. Submit your web page URL to search engines
5. Create an account with Google Analytics and Google webmasters
6. Link your websites with the Analytics and Webmasters account
7. Optimize your web page
8. Ensure the Quality of the content of your web site
9. Wait for at least 6 months and during that time increase the traffic to your web site.
10. Once you have completed the above steps and satisfied them, Now apply for a Google AdSense account.