display – PHP Autocomplete https://phpautocomplete.com The Ultimate PHP Dropdown Mon, 28 Apr 2014 20:58:17 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.4 display() https://phpautocomplete.com/docs/display/ Tue, 11 Feb 2014 19:10:12 +0000 http://phpautocomplete.com/?p=109 Display the auto-complete control finally. When attached to <select>, set $tag to SELECT, or INPUT when attached to <input type=”hidden”>.This should be the LAST method to call.

Signature:

public function display(string $tag = 'INPUT', bool $script_include = true)

Parameters:

  • $tag: “SELECT” or “INPUT” (default to “INPUT”, case sensitive)
  • $script_include: true or false indicates whether to include required jQuery autocomplete JavaScript libraries (default to true).
]]>