Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bcorchiolo

    (@bcorchiolo)

    Perfect, thank you so much!

    Thread Starter bcorchiolo

    (@bcorchiolo)

    Yes, it appears that there is some js in the footer. Is there an easier way to do this?

    if(id_num == ‘el’){
    jQuery(‘.tablepress tfoot tr .column-2 input’).val(‘<?php echo $_GET[‘OrderNumber’]; ?>’);
    jQuery(‘.tablepress tfoot tr .column-2 input’).keyup();
    } else {
    jQuery(‘.tablepress tfoot tr .column-5 input’).val(‘<?php echo $_GET[‘OrderNumber’]; ?>’);
    jQuery(‘.tablepress tfoot tr .column-5 input’).keyup();
    }

    jQuery(‘.loader’).hide();

    //var poList = [];

    jQuery(‘.tablepress tbody tr’).each(function(index){
    //poList.push(jQuery(this).find(“.column-5”).val());
    if(id_num == ‘el’){
    var tableValue = jQuery(this).find(“.column-2”).html();
    }else{
    var tableValue = jQuery(this).find(“.column-5”).html();
    }

    tableValue = tableValue.toString();
    orderNum = orderNum.toString();

    if(tableValue.trim() === orderNum.trim()){
    jQuery(this).css(‘display’, ‘table-row’);
    } else {
    jQuery(this).remove();
    }

    Thread Starter bcorchiolo

    (@bcorchiolo)

    I inherited this site, so I’m working my way through it. You enter a term into the field and you then the page you end up on another template page with

    <?php echo do_shortcode(‘[table id=8 datatables_columnfilter=true /]’); ?>

    Thread Starter bcorchiolo

    (@bcorchiolo)

    I am using [table id=8 datatables_columnfilter=true /] filter_case_sensitive=false doesn’t seem to change the results.

    Thanks

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