This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loads when ACF input fields are rendered
- Loading branch information
Salman Z Kaleem
committed
Jul 15, 2015
1 parent
dc754c0
commit 719e449
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
*/ | ||
} | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters