Question: I have HTML:

```
<input type="text" id="text1" onBlur="focusMe(this.id);" />

```

and javascript function:

```
function focusMe(Id)
{
document.getElementById(Id).focus();
}

```

Answer: 
It is possible:

```
function focusMe(Id) {
    setTimeout(function() {document.getElementById(Id).focus();}, 0);
}

```

Your script is not working because onBlur is called just *before* the focus is lost.

Two remarks:

* you'd better use a reference to the input rather than its id
* why do this?!
I would just pass the control directly. Why pass the ID just to get the control back from it again?

Markup:

```
<input type="text" id="text1" onBlur="focusMe(this);" />

```

Javascript:

```
function focusMe(elem)
{
  elem.focus();
}

```