Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

How to prevent page refresh in onChange event



i have a two multi select dropdown box with add & remove in between them. when i click a value in one multi box,it calls a onchange javascript and inturn it calls a java method. Then the data from db are populated in third multi box.

The issue is when i click the value and move from one multi box to another using add button, the moved value is again comes to the same multi box because of onchange javascript fetching the data's from db (i.e) page refresh.

how to solve this problem...