• Hi, I am making an autocomplete ..Here is my code:
    jQuery(********I DON’T KNOW HOW TO CALL THE DATA ON MY DATA TABLE**************).editableSelect({
    onSelect: function (element) {
    jQuery(‘fieldset[data-id=”‘ + data_id_2 + ‘”] input’).html($(this).val());
    }
    });

    I don’t know if this is working. This is the only code I am dealing right now to retrieve my data from my data table.

Viewing 1 replies (of 1 total)
  • you need an endpoint that makes the actual search, take a look at the WP-API or you can use AJAX wp functionality, take a look at this page Ajax in Plugins, this it’s only to handle the ajax call, you need the logic to build the search, you can run sql queries with $wpdb.

Viewing 1 replies (of 1 total)
  • The topic ‘getting data from my own data table’ is closed to new replies.