View Full Version : how to add string to

07-15-2012, 06:57 PM
i have grabbed a custom google engine code and it look like:

<div id="cse" style="width: 50%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">

google.load('search', '1', {language : 'en', style : google.loader.themes.V2_DEFAULT});
google.setOnLoadCallback(function() {
var customSearchOptions = {}; var customSearchControl = new google.search.CustomSearchControl(
'014819898793548348088:ddkdmhjkyxe', customSearchOptions);
}, true);

which i guess its java script and i don't know how to edit that to suit my needs which is to fill the input box with a string and also search for it by pressing a link. i will be more clear and show an example: http://virtualdjradio.com/stats/song.php?channel=1&song=Tom+Boxer+%26+Morena+feat.+J+Warne+-+Deep+In+Love+%28Club+Edit%29

try to press on any of the music store icons and it will search for the song string through custom google engine and thats exactly what i want

07-16-2012, 12:09 PM