javascript - Search box in my website which searches within the page -


i want add search box searches within website . dont want add external search engine. javascript code helpful. please me out.

try in html :

<form method="get" action="http://www.google.com/search">     <input type="text" name="q" size="31"      maxlength="255" value="" />     <input type="submit" value="google search" />     <input type="radio" name="sitesearch" value="" />     web     <input type="radio" name="sitesearch"      value="yoursite.com" checked />my site name here </form> 

Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -