imagebutton setValue()

please help, i want to change the label value of an imagebutton, so I use setValue() (with button, it works), but I cannot make it work with imagebutton. also what if, I want to change the imagebutton “src”? thank you in advance.

dhx.ui({
view:“popup”,
id:“star”,
body:{
view:“list”, id:“myList”,
url:“rate9.xml”, datatype:“xml”,
select:true,

}).hide();

id:“rate”,
view:“imagebutton”,
src:“star1.png”,
label:“Excellent”,
popup: “star”

$$(“myList”).attachEvent(“onitemclick”,function(id){
$$(“rate”).setValue(“test”);
$$(“star”).hide();
});

You need to the new src property:

$$(“rate”).define(“src”,“new.png”);
$$(“rate”).refresh();

works great! thank you very much!