Results 1 to 3 of 3

Thread: Searching

  1. #1
    LJ Guest

    Default Searching

    When i search my db i sometimes takes long time. <BR>i want the user to know that the search is going on by <BR>having some code that says "Searching"<BR>

  2. #2
    Join Date
    Dec 1969

    Default 2 ways come to mind

    I won&#039;t give you the code but here are the two ways I have completed that task.<BR><BR>First, using JavaScript and CSS. Set the visiblity of a table with your Searching message to none (the location of the table doesn&#039;t matter as you can use javascript to center it). On the submit button, execute a function. The function should center the Searching table, make it visible and submit the form.<BR><BR>Second, on the page that displays the results, put a Searching message in a &#060;div&#062; tag. Make sure that the message isn&#039;t embedded in any elements that need to be sent completly to the browser before it is rendered (IE putting it in the table that displays the results). Use the document onload to hide your Searching method.<BR><BR>I hope this gives you some direction.

  3. #3
    LJ Guest

    Default RE: 2 ways come to mind

    HOw do I use this onload method?<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts