Title: Click Button
Last modified: August 24, 2016

---

# Click Button

 *  [joeldault](https://wordpress.org/support/users/joeldault/)
 * (@joeldault)
 * [11 years ago](https://wordpress.org/support/topic/click-button/)
 * Good Morning, Michael
    The following is the code that you helped me with a few
   months ago. IT works fine until I try to add a second button to sent the url 
   information on submit time to a second page. (function ($) { $(‘td[title=”submit_time”]
   div’).each( function () { $(this).html(‘[<button style=”background-color:#FFFAF8; color: #856941; font-size: 10px”>Click Here!</button>](http://property closed.com/c/?submit_time=&apos; + $(this).html() + &apos;)‘);});
   $(‘td[title=”Button1″] div’).each( function () { $(this).html(‘[<button style=”background-color:#FFFAF8; color: #856941; font-size: 10px”>Click Here!</button>](http://property closed.com/d/?submit_time=&apos; + $(this).html() + &apos;)‘);});})(
   jQuery);
 * I put a extra space between property and closed.
    This code will only work if
   the column defined as “Button1” has the “submit_time” information in it. Is there
   a way to duplicate the submit_time to another field or is there a code that will
   make it so that both buttons will forward to another page and put “Submit_time”
   into the url for filtering to a single page with the file information on it.
 * [https://wordpress.org/plugins/contact-form-7-to-database-extension/](https://wordpress.org/plugins/contact-form-7-to-database-extension/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/click-button/#post-6145718)
 * When you post code, please format it so that is is all readable. Not everything
   shows here.

Viewing 1 replies (of 1 total)

The topic ‘Click Button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/click-button/#post-6145718)
 * Status: not resolved