Skip to content

Instantly share code, notes, and snippets.

@skipjac
Created February 18, 2015 06:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skipjac/8af6bca6b036c891e1e0 to your computer and use it in GitHub Desktop.
Save skipjac/8af6bca6b036c891e1e0 to your computer and use it in GitHub Desktop.
Remove a option from zendesk ticket form options in Help Center
//remove the options from the select
$('#request_issue_type_select option[value="43517"]').remove();
//remove the option from the nesty-input after it's been created.
$('div').one('DOMNodeInserted', function(e){
$('.nesty-panel').one('DOMNodeInserted', function(e){
$(this).children('ul').children().remove('#43517');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment