Skip to content

Instantly share code, notes, and snippets.

@skipjac
Created March 18, 2013 17:17
Show Gist options
  • Save skipjac/5188963 to your computer and use it in GitHub Desktop.
Save skipjac/5188963 to your computer and use it in GitHub Desktop.
Get the assignee change from a autocomplete dropdown fields
Event.observe(window, 'load', function() {
jQuery('.assignee').parent().find('input.ui-widget').blur(function(){
jQuery("#ticket_fields_22399063").val(jQuery('.assignee').find('option:selected').text());
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment