Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter joeldault

    (@joeldault)

    <script type=”text/javascript”>
    (function ($) {
    $(‘td[title=”submit_time”] div’).each(
    function () {
    $(this).html(‘.a href=”http://ptia.net/?p=1308&submit_time=&#8217; + $(this).html() + ‘” ><button style=”background-color:#C0C0C0; color: 000000; font-size: 09px; border-radius: 10px; width: 80px; height: 25px”>Click Here!</button>’);
    })
    })(jQuery);
    </script>

    I changed “‘<a” to “.a” to get the script to show. I hope is worked

    Plugin Author Michael Simpson

    (@msimpson)

    Please format at code when you post jQuery so it is easier to read.

    You might be able to just change:
    $('td[title="submit_time"] div').each(

    to:
    $('td[title="submit_time"] div:not(:empty)').each(

Viewing 2 replies - 1 through 2 (of 2 total)

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