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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -