Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
That's totally unrelated to ColdFusion, but http://javascript.internet.com/miscellaneous/search-the-page.html has a nice example of that.
-Fernis
Copy link to clipboard
Copied
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.