Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
form = $('#option_expense_report')
when drop element
certificateId ='certificate-id')
html += '<input type="hidden" id= value="' + certificateId + '" name="option_expense_report[certificates][]">'
$('a.certificate_link').click ->
certId = $(this).date('certificate-id')
$('input#' + certId).remove()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.