Skip to content

Instantly share code, notes, and snippets.

@linusthe3rd
Created November 18, 2010 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linusthe3rd/705083 to your computer and use it in GitHub Desktop.
Save linusthe3rd/705083 to your computer and use it in GitHub Desktop.
Updating a dojo widget's date
function updateTheWidget(){
var newData = getData() // handles the xhr request to retrieve the new set of data
theWidget.attr("data", newData); //update the widget with the new set of data
theWidget.refresh(); //refresh the widget UI
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment