Skip to main content
Known Participant
March 17, 2010
Question

how to add a search in page for coldfusion

  • March 17, 2010
  • 1 reply
  • 570 views

hi i had a form and i need to add some search box like search in page concept in javascript to my coldfusion form.

do we have any code for that.

Thanks

This topic has been closed for replies.

1 reply

Fernis
Inspiring
March 18, 2010

That's totally unrelated to ColdFusion, but http://javascript.internet.com/miscellaneous/search-the-page.html has a nice example of that.

-Fernis

cfnewAuthor
Known Participant
March 19, 2010

hi this is some what used thanks for ur help , but i got problem that when i added this in form

<fieldset style="width: 240px;">
  <legend>Search the page</legend>
  <input type="text" id="searchInput"><button id="performSearch">search</button>
</fieldset>

and try to search using search button the page is submitting , it is not calling javascript , i dont understand how to do so that the search has to be performed before submitting.

Thanks.