title: Execute JavaScript on node creation of a specific content type
body: <p>I would like to execute a JavaScript function only on node creation and node edit of one specific content type. It is only one small function call.</p>
  
  <p>Let's call the Drupal 7 content type "<code>tear</code>", and the JavaScript function "<code>doitnow();</code>"</p>
  
  <p>Any ideas how to do this?</p>
  
  <p>Thank you very much.</p>
  
  <p>Nils</p>