Is there a way to change the attribute of a DOM element as it is created? I have an input (has an ID) that is created by a plugin. I need to change the placeholder of that input when it appears.

i.e.

```
$("#token-input_sample").live("attr","placeholder","place");

```

Code above doesn't work.