Skip to main content

Simple customized Search form code for using Google Custom Search Engine (CSE) results hosted on Google

If you have created personalised search engine using Google's Custom Search Engine (CSE) option through website ,    then you will be given a piece of code that need to be pasted on your website, on where you wish to see the Search box..

Google custom search results can be displayed in different modes

1. Display the result with in the page where you are displaying the Search Box
2. Display the result on a different page on your website
3. Display as frames
4. Display the result on a google hosted page.

If you are using the 4th option, ie, displaying the google custome search result on a google hosted page, use the following code to cretae the Custome search box.

<form action='' id='cse-search-box' target='_blank'>
<input name='cx' type='hidden' value='010414496501306016230:x0vzcyik-ik'/>
<input name='ie' type='hidden' value='UTF-8'/>
<input name='q' onblur='if(this.value == '') { this.value='Google Custom Search'}' onfocus='if (this.value == 'Google Custom Search') {this.value=''}' onClick='if (this.value == 'Google Custom Search') {this.value=''}' size='18' type='text' value='Google Custom Search' style="font-size:14px;color:blue"/>
<input name='sa' type='submit' value='Search'/>


cx : Your custom search Engine Id
ie : Your encoding
q : Your search query
sa : Search button name

Here is how it works :)
Your request will be submitted to a Google page, where it is processed. Google checks its index for records matching the submitted key word. If found result is displayed.


for more details, please logon to:


Popular posts from this blog

How to apply for a new ration card and what are the documents required?

List of documents required for new ration card application in Kerala and how to apply

Application for a new ration card should be addressed to Taluk Supply Officer (TSO) / City Rationing Officer (CRO) of applicant's residing area.

Primary document required are Residence certificate, Income certificate and incase the applicant's name is in another ration card then he/she should submit the reduction certificate ontained from previous TSO / CRO as proof for removing his/her name from old Ration card.

You can get the new application from your currently residing Taluk Supply Office.

Payback Points - How to redeem - How to merge multiple payback accounts - Block Payback card - Payback customer care

Joomla and Forum Integration - Integrating Forums to Joomla

Joomla is one of the most popular CMS opensource packages. It is very easier to develop website's using Joomla. You just need to download Joomla package from Joomla's Official website  and install it on your domain and later adding customizations to templates and feature and Your website is ready :). Now a days most websites provides a forum section for it users for discussing various article topics, gathering opinions etc.

Following are some best know forum opensource packages which can be integrated with Joomla and create a new forum experience for users

Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to   Read more »
Search This Blog