Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2012
    Posts
    55
    Thanks
    18
    Thanked 0 Times in 0 Posts

    how to add string to

    i have grabbed a custom google engine code and it look like:

    Code:
    <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);
        customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
        customSearchControl.draw('cse');
      }, true);
    </script>
    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...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

  • #2
    Regular Coder Arcticwarrio's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    721
    Thanks
    20
    Thanked 84 Times in 84 Posts


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •