daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest Mar 18th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function doGet(e) {
  2.    return HtmlService
  3.    .createTemplateFromFile('frontend')
  4.    .evaluate()
  5.    .setSandboxMode(HtmlService.SandboxMode.NATIVE)
  6.  }
  7.      
  8. <tr>
  9.      <td>Search name: </td>
  10.      <td><input type="text" name="Name" /></td>
  11.    </tr>
  12.    <input type="submit" onclick="google.script.run.do_it(??????)">
  13.      
  14. <form id="myForm">
  15.  
  16.     <table>  
  17.  
  18.     <tr><td>First Name</td><td><input type="textbox" size="100" name="first" required> </td></tr>
  19.     <tr><td>Last Name</td><td><input type="textbox" size="100" name="last" required> </td></tr>
  20.     </table>
  21.     <br><br>
  22. <input type="button" id="load" value="Start" onclick="inputForm(this.parentNode)"  
  23.           style="padding:5px;color: #fff; border-color: white;"/>
  24.  
  25.     </form>
  26.      
  27. inputForm(e){
  28. Logger.log(e.first);
  29. Logger.log(e.last);
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top