Thanks for correcting me. I was not aware of it as i am using it for the first time
.
The trimForm(this) and showProgressBar() do not submit the form. They are used to just trim the empty spaces in text field and show progress image on click of submit button.
I tried to submit the form through javascript and added an alert message in javascript method.
Observation: The filterSubmit() javascript method is called once i.e. alert message
HI pops up only once.
But the action method filterSearchCommonList() is executed twice.(Only in chrome)