title: custom meta box with submit button in wordpress
body: <p>I'm making a custom meta box for wordpress plugin, and I have two inputs and one submit button in the form with an action inside the meta box. I want the submit button do the form's action only, instead of updating the post such as the publish button.</p>
  
  <p>here is my meta box form:</p>
  
  <pre><code>add_action( 'add_meta_boxes', 'cd_meta_box_add' );
  function cd_meta_box_add(){
  add_meta_box( 'my-meta-box-id', 'Meta Box Title', 'cd_meta_box_cb', 'post', 'normal', 'high' );  
  }
  
  function cd_meta_box_cb(){
  ?&gt;
      &lt;form method="POST" id="myForm" action="&lt;?php echo plugins_url( '/proses.php', __FILE__ ); ?&gt;"&gt;
          &lt;ul class="sorter"&gt;
              &lt;li&gt;&lt;label for="pdf"&gt;URL image:&lt;/label&gt;&lt;input class="txt" name="pdf" size="50" type="text" value="" /&gt;&lt;/li&gt;
              &lt;li&gt;&lt;label for="title"&gt;Title image:&lt;/label&gt;&lt;input class="txt" name="title" size="50" type="text" value="" /&gt;&lt;/li&gt;
              &lt;input class="button" type="submit" value="Submit" /&gt;
          &lt;div id="loading" style="display:none;"&gt;&lt;img src="&lt;?php echo plugins_url( '/loading.gif', __FILE__ ); ?&gt;" /&gt;&lt;/div&gt;
          &lt;/ul&gt;
      &lt;/form&gt;
          &lt;div id="result" style="display:none;"&gt;&lt;/div&gt;
  &lt;?php
  }
  </code></pre>
  
  <p>This is in the post editor, i want myForm get action to the process.php by clicking the submit button. Is there any way to do that? i knew it's possible to do because out of the post editor it's works fine.</p>