1 jQuery( function ( $ ) {
2 var ak_js = $( '#ak_js' );
4 // If the form field already exists just use that
5 if ( ak_js.length == 0 ) {
6 ak_js = $( '<input type="hidden" id="ak_js" name="ak_js" />' );
12 ak_js.val( ( new Date() ).getTime() );
14 // single page, front-end comment form
15 // inline comment reply, wp-admin
16 $( '#commentform, #replyrow td:first' ).append( ak_js );