I have a form where user can enter search criteria and then press search button. But user can also stop the search operation by pressing 'cancel search' button.
My problem is once user presses the 'cancel search' button to stop the search operation , and then if user does the search again , it is very very slow.
Currently I execute a javascript function for 'cancelsearch' which contains no code , basically a dummy function. It looks like
cancelSearch() {
// Dummy function
}
Thanks for any help.