title: JS To Submit Button Gravity Form
body: <p>I have the js below that "clicks" a button's action when executed (with a class of "wpc-button-1161") that I want to run when the submit button on gravity form is clicked. How to I do that?</p>
  
  <p><code>$(function(){
      window.location.href = $('.wpc-button-1161').attr('href');
  });</code></p>