Wednesday, 22 February 2017

Java Enumeration Good Example

Enums are lists of constants. When you need a predefined list of values which do represent some kind of numeric or textual data, you should use an enum. You could enter number or string to get the specific value ...
Share:

Javascript Example To Call an Ajax

Example code in javascript to call an ajax function changeDeliveryTime() { var deliveryMethod = $('#deliveryMethod').val(); var delAddress = $('#delAddress').val(); var schedule = $('#scheduleko').val(); $.ajax({ type : "GET", url : "/ajaxchangedeliveryschedule.do?deliveryMethod=" + deliveryMethod + "&address=" + delAddress + "&scheduleId=" + schedule, success...
Share:

Miscellaneous useful sites

JSON FORMATTER Online Date Formatter for Java Angular Maven Repository Some Angular Tutorials Regex Tester Another Good Regex Tester Cron Tab Maker Cron Tab Maker Based on Quartz (java)...
Share:

JQuery set maximum date on date input.

This entry will set the max date to 13yrs and below normally use for registration for above 13yrs old only http://stackoverflow.com/questions/16232594/datepicker-set-date-during-page-load ![CDATA[ $(document).ready(function() { $('#date-input').datepicker({ }).datepicker( "option", { setDate:"0", maxDate:'-13y -1d' }...
Share:

Some Interview Question

What was your bigger achievement? "I have several notable accomplishments in my career. Probably the most notable accomplishment was the delivery of the most recent version update to one of our core products for customer payments. This was a 12-month project and I was one of 8 team members. What made it notable for me was that my role expanded from being one of the tech team members to taking the...
Share:

How to declare a new exception in Java

Sample java code to declare a new exception. public class MyNewException extends Exception { private static final long serialVersionUID = -7994546786269588726L; public MyNewException() { super(); } public MyNewException(String msg) { super(msg); } ...
Share:

Popular Posts

Recent Posts

Pages

Powered by Blogger.

About Me

My photo
For the past 10 years, I've been playing with codes using PHP, Java, Rails. I do this for a living and love new things to learn and the challenges that comes with it. Besides programming I love spending time with friends and family and can often be found together catching the latest movie or planning a trip to someplace I've never been before.