0

これはJavaScriptです -

  <script src='//www.google.com/jsapi' type='text/javascript'></script>
  <script type='text/javascript'>
  google.load('search', '1', {language: 'en', style: google.loader.themes.BUBBLEGUM});
  google.setOnLoadCallback(function() {
  var customSearchOptions = {};
  var orderByOptions = {};
  orderByOptions['keys'] = [{label: 'Relevance', key: ''} , {label: 'Date', key: 'date'}];
  customSearchOptions['enableOrderBy'] = true;
  customSearchOptions['orderByOptions'] = orderByOptions;
  var customSearchControl =   new google.search.CustomSearchControl('001216773833632189276:ki_enp2eefa', customSearchOptions);
  customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
  var options = new google.search.DrawOptions();
  options.setAutoComplete(true);
  customSearchControl.draw('cse', options);
  }, true);
  </script>

そして、その返される入力コードはテーブルの列です-

<td class="gsc-search-button"> <input type="button" value="Search" class="gsc-search-button" title="search"> </td>

ここで値を設定しますGO。どうすれば入手できますか?

4

3 に答える 3