Blog related to the programming-related issue, important blog links, important news, and more.
Thursday, November 28, 2013
Sunday, June 16, 2013
Thursday, June 13, 2013
Disable past date in jQuery datepicker
Change at line no at 8.
1. onSelect:function ( selectedDate ) { 2. var option = this.id == "startDate" ? "minDate" : "maxDate", 3. instance = $(this ).data( "datepicker" ), 4. date = $.datepicker.parseDate( 5. instance.settings.dateFormat || 6. $.datepicker._defaults.dateFormat, 7. selectedDate, instance.settings ); 8. date.setYear(date.getYear()+1); 9. dates.not( this ).datetimepicker( "option", option, date );
Thursday, June 6, 2013
Monday, May 27, 2013
Tuesday, May 7, 2013
Monday, May 6, 2013
Important Link
http://struts.apache.org/2.2.1/struts2-plugins/struts2-dojo-plugin/apidocs/org/apache/struts2/dojo/components/Autocompleter
http://www.precisejava.com/javaperf/j2ee/JDBC.htm
http://www.precisejava.com/javaperf/j2ee/JDBC.htm
Document compatibility Check:
Use this line in all page.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8">
Converting exponential value in java to a number formatYou can convert easily with the following methods:>
Double.valueOf("9.78313E+2").longValue() or
BigDecimal bd = new BigDecimal("9.78313E+2");
long val = bd.longValue();
Assuming that the given number is in a String form.
Sunday, May 5, 2013
Subscribe to:
Posts (Atom)