How to refresh the page when user selects an item from a dropdown

How to refresh the page when user selects an item from a dropdown

  
In your web screen insert a Select widget
- Name = Select1
Create a Button widget (you can also use a link)
- Name = Button1
- Destination = Current Screen (or any other screen or action )
Use an Expression widget below the previous widgets
- Escape Content = No
- Expression = "<script language='JScript'>
document.all.wtSelect1onchange = document.all.wtButton1.click();
</script>"
(TIP: You can reference widgets in javascript prefixing their names with "wt")
See DropDownSelected for an example on how to do this.