Tuesday, January 6, 2015

Javascript call a function on Enter button press


Javascript call a function on Enter button press. Like in login ui when you type password then press enter button it will log in.

 $('#id_inputPassword').on('keydown',function(e){  
   e.stopPropagation();  
   if (e.keyCode == 13)  
   {  
     // call your function 
   }  
 });  

SQL Get all Index create script from Database

To get all script from database as a create new index into another database you can use the following --Get all Index Script SELECT...