diff --git a/uc-people.js b/uc-people.js new file mode 100644 index 0000000..6ebbb80 --- /dev/null +++ b/uc-people.js @@ -0,0 +1,12 @@ +jQuery(document).ready(function($){ + if( $('#acf-field-netid_lookup').length ){ + $('#acf-field-netid_lookup').keyup(function(e){ + if( e.target.value.length > 2 ){ + var netidQuery = e.target.value; + /** + * Ajax lookup with netidQuery + */ + } + }); + } +}); \ No newline at end of file diff --git a/uc-people.php b/uc-people.php index 13b9746..51c98ba 100644 --- a/uc-people.php +++ b/uc-people.php @@ -169,4 +169,10 @@ function uc_people_settings_page(){