Last active
June 25, 2017 19:03
-
-
Save 13bzhang/81e153726c0fec69ca3bb98ebed68fd2 to your computer and use it in GitHub Desktop.
Qualtrics autofill
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
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | |
<link href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" rel="stylesheet" /> | |
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script> |
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
Qualtrics.SurveyEngine.addOnload(function() | |
{ | |
/*Place Your JavaScript Here*/ | |
var j = jQuery.noConflict(); | |
$j(function() { | |
var availableTags = [ | |
"George Jefferson", | |
"Archie Bunker", | |
"Kid Dynomite", | |
"Schneider" | |
// You can continue adding names// | |
]; | |
$j( ".InputText" ).autocomplete({ | |
source: availableTags | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment