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: 
you can specify in a comma separated string like

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

```

REF: [jquery multiple selectors](http://api.jquery.com/multiple-selector/)
If you want to bind two inputs by ID you must use the `#idName` instead of `.idName`. Notice the difference: the period is for element class names and the number sign is to define an element ID, within the jQuery Selector

Here is some reference

[ID Selector](http://api.jquery.com/id-selector/)

[Class Selector](http://api.jquery.com/class-selector/)

Next jQuery Selectors can be bound by multiple selectors by separating them with a comma.

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

```

However I do not believe you would really want to bind each of these events to the same function. 

You stated "function is run when 'id= input1' is enter." I'm assuming you mean on focus of the elements. Which if my assumption is true you would want to do this

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

```

or

```
$('#input1, #input2').focus(function(){ .... });

```