944,123 Members | Top Members by Rank

Ad:
Dec 5th, 2006
0

Re: Cancelling a Search

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sanjeevverma is offline Offline
2 posts
since Dec 2006
Dec 7th, 2006
0

Re: Cancelling a Search

So what code do you use for Cancel Search(which make another search slow).
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006
Dec 7th, 2006
0

Re: Cancelling a Search

I execute a function which has no code in it. It looks like

cancelSearch {

}

Thanks
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sanjeevverma is offline Offline
2 posts
since Dec 2006
Dec 9th, 2006
0

Re: Cancelling a Search

then how does your cancel search button works as you said
Quote ...
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.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006
Dec 10th, 2006
0

Re: Cancelling a Search

It might help if we can see all of the coding so that we can determine where the error lies.
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: change the font/color of the selected text on a web page through javascript
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Get ItemIndex





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC