বুধবার, ৩১ জুলাই, ২০১৩
Replacement of jquery toggle
Use
var buttonLiveHelpClicks = true;
$("#buttonLiveHelp").click(function () {
if (buttonLiveHelpClicks) {
$("#buttonLiveHelp").hide();
buttonLiveHelpClicks = false;
} else {
$("#buttonLiveHelp").show();
buttonLiveHelpClicks = true;
}
});
instead of
$("#buttonLiveHelp").toggle();
সোমবার, ২২ এপ্রিল, ২০১৩
মঙ্গলবার, ৫ মার্চ, ২০১৩
সোমবার, ৪ মার্চ, ২০১৩
Spring 3 session level Model Attributes with Multi Tab browsers
http://marty-java-dev.blogspot.com/2010/09/spring-3-session-level-model-attributes.html
মঙ্গলবার, ২৬ ফেব্রুয়ারি, ২০১৩
What is SuppressWarnings annotation
The
In the example above if we don't use
source: http://www.kodejava.org/examples/350.html
@SuppressWarnings annotation tells the compiler to
suppress the warning messages it normally show during compilation time.
It has some level of suppression to be added to the code, these level
including: all, deprecation, fallthrough, finally, path, serial and unchecked.package org.algobd.code.example.annotation;import java.util.Date;public class SuppressWarningsExample { @SuppressWarnings(value={"deprecation"}) public static void main(String[] args) { Date date = new Date(2013, 2, 26); System.out.println("date = " + date); }} |
@SuppressWarnings annotation the compiler will report that the constructor of the Date class called above has been deprecated.source: http://www.kodejava.org/examples/350.html
লেবেলসমূহ:
annotation,
SuppressWarnings,
SuppressWarnings annotation
সোমবার, ২৫ ফেব্রুয়ারি, ২০১৩
বৃহস্পতিবার, ৬ ডিসেম্বর, ২০১২
এতে সদস্যতা:
পোস্টগুলি (Atom)