Question: As seen below script:- function is run when 'id= input1' is enter. I need to add another id eg. id= input2, as input2 is enter, function is run again.. 

```
  $('.input1' ).bind("focus blur change keyup", function(){
     ....
  };

```

Answer: 
For classes (`.myclass`):

```
$('.input1, .input2').bind("focus blur change keyup", function(){ .... });

```

For IDs (`#myID`):

```
$('#input1, #input2').bind("focus blur change keyup", function(){ .... });

```
you can specify in a comma separated string like

```
$("selector1,selector2,...,selectorN").bind(

```

REF: [jquery multiple selectors](http://api.jquery.com/multiple-selector/)