Thursday, March 13, 2014

Android in Eclipse - R.java not generating

Need to Install Build Tool from Android SDK Manager

Step 1: SDK Manager


Open the Android SDK Manager

Steps 2:  Install Build Tools ( R.java not generating )


Select the newly added Build Tools and install.

Step 3 : Restart Eclipse


Now Problem Solved. (R.java not generating)

 

From : Problem Only In ADT Version 22

Tuesday, February 25, 2014

TextBox Change Event In Jquery

Method 1 : TextBox Change Event In Jquery


$( "#id" ).change(function() {
console.log('I am pretty sure the text box changed Change Event');
});

Method 2 : TextBox Change Event Based On Keyboard In Jquery


$("#id").on('change keyup paste', function() {
console.log('I am pretty sure the text box changed');
});

OR
$('#id').keyup(function () {
console.log('I am pretty sure the text box changed');
});

Method 3 : TextBox Change Event Bind On All In Jquery


$('#id').bind('focus blur select change click dblclick mousedown mouseup mouseover mousemove mouseout keypress keydown keyup', function(e) {
console.log('I am pretty sure the text box changed');
});