is there any way to replace 255px from code below with variable width?

```
var width = $(".input-textbox").width();

     $("#txtTryContactMob").css('background', '#fff url(\"/img/erroricon.png\") 255px center no-repeat');

```

I have read a little about it and I don't want to use LESS css.

Thanks in advance.