>please give me a example.
When you create a message here, look at the view source, you'll see that the listbox of the forum selection contains some code which executes a javascript function. So, whenever a change of forum occurs, the javascript function is called and may act accordingly.