I have a wizard..in one pane i select an item…in second pane i enter the information..in the third pane i am display the item selected and the information like a summary..but what is happening is for the first time i get everything properly but if i go back and change the selected item or info…in the third pane…i am also getting the previous results..i want those labels to be replaced with the new selection and info..any ideas?
brief outline
3rd pane(say pane1) has 2 div elements(label1 and label2)…i am populating the innerHTML of the div with respective objects
var label1 = dojo.create("div", { innerHTML: ob.selecteditem},"pane1");
var label2 = dojo.create("div", { innerHTML: ob.information},"pane1");
how do i refresh the label text everytime…a user changes the selected item or the info?
Regards.
Actually…i am destroying the div on calling the function and then writing to it…
hope this helps someone..