Skip to main content

A search box widget for blogger

Now it is possible to add and customize search box on your blogger 
you can add search box on your blog by two way,
by clicking the bellow button install automatically or manually.

add manually Search Box on your blog just follow the bellow instructions.
  1. Go to Template>Layout in your Blogger Dashboard.
  2. Then Go to Page Elements Template
  3. Add a new HTML/Javascript Widget in your sidebar.
  4. Insert the following code into the widget:

 <p align="center">
     <form id="searchthis" action="/search" style="display: inline;" method="get">
     <input id="search-box" name="q" size="25" type="text" />
     <input id="search-btn" value="Search"
            type="submit" />
     </form>
 </p>


Give your widget a title if you like (eg: "Search this Blog"), and click save. You should now have a fully functional search box in your blog's sidebar!.  

Popular posts from this blog

how $document.ready() is different from window.onload()

we often use window.onload() in javascript and $document.ready() in jquery and assume that both are same just jquery library wrap up javascript window.onload() and introduce $document.ready() but no there is much difference between them below is the explanation -

Merging multiple PDFs using iTextSharp in asp.net c#

In this article i will show you how to merge multiple pdfs into one using ITextSharp below is the two approach one is to pass your input files path, output file path (will be created if not exist) and another is pass direct input stream, output stream and it will write the merge files into output stream.

How to handle click event of linkbutton inside gridview

Recently I have posted how to sort only current page of gridview , Scrollble gridview with fixed header through javascript , File upload control inside gridview during postback and now i am going to explain how to handle click event of linkbutton or any button type control inside gridview. We can handle click event of any button type control inside gridview by two way first is through event bubbling and second one is directly (in this type of event handling we need to access current girdviewrow container)

How to validate dropdownlist in JavaScript

In this article you will see how to put validation in dropdownlist by javascript, suppose first item value of dropdownlist is 0 and text is "-Select-" just like given below and we have to validate that at least one item is selected excluding default i.e "-Select-".