Why wont this work?
if (byId("annonsera_price").style.display=='inline' || byId("annonsera_price").style.display=='block'){
alert ("Hello");
}
function byId(x){
return document.getElementById(x);
}
update2:
<input style="width:100px;" type="text" name="annonsera_price" id="annonsera_price">
I haven't set it with css either!