title: Inserting javascript into sharepoint editform.aspx
body: <p>I want to customize my sharepoint datepicker to prevent user from selecting past date. I have found the following code on this website</p>
  
  <pre><code>$(function () {
              $("&lt;%=TextBox1.ClientID %&gt;").datepicker(
              {
               minDate: +0,
              });
          });
  </code></pre>
  
  <p>but I am not sure where to insert this script. From what research I've done, it needs to be inserted in editform.aspx. I do not know where in the current script to place it, at the end of whats already there? I found I could not paste when I tried to paste it to the end. I am a complete novice at coding so any help would be greatly appreciated. I use SharePoint Designer 2010 and Workspace 2010. </p>
  
  <p>Thanks</p>