variable in the page where the user clicks on it 'search box'

variable in the page where the user clicks on it 'search box'

khalilkarimpourkhalilkarimpour Posts: 2Questions: 0Answers: 0
edited December 2012 in General
Hi, I have a question that you had. I was about DataTable I asked. Whether a variable is a variable in the page where the user clicks on it 'search box'And will be searched. How can a variable to search for?

Replies

  • khalilkarimpourkhalilkarimpour Posts: 2Questions: 0Answers: 0
    $(document).ready(function() {
    $('#example').dataTable( {
    "fnInitComplete": function () {
    var that = this;
    this.$('td').click( function () {
    that.fnFilter( this.innerHTML );
    } );
    }
    } );
    } );



    In the above code on your "fnInitComplete" that will click. Search box goes on. How this is done?. How variable is sent to the 'search Box'?.
This discussion has been closed.