Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 19th, 2013  |  syntax: None  |  size: 0.54 KB  |  views: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php echo form_open_multipart(&#x27;/jobs/delivery&#x27;, array(&#x27;class&#x27; => &#x27;form-horizontal&#x27;, &#x27;id&#x27; => &#x27;form-doc&#x27;),array(&#x27;job_id&#x27; => &#x27;&#x27;));?>
  2. <iframe id=&#x27;form-doc-iframe&#x27; name=&#x27;form-doc-iframe&#x27; src=""></iframe>
  3.  
  4.  
  5.  
  6. document.getElementById(&#x27;form-doc&#x27;).target = &#x27;form-doc-iframe&#x27;; //&#x27;my_iframe&#x27; is the name of the iframe
  7. document.getElementById(&#x27;form-doc-iframe&#x27;).domain = site;
  8. document.getElementById(&#x27;form-doc&#x27;).submit();