It would be nice if I could use something like
var company_id = jQuery('#helpdesk_ticket_custom_field_company_id_{{freshdesk.id}}');
instead of:
var company_id = jQuery('#helpdesk_ticket_custom_field_company_id_276082');
in apps.
It would be nice if I could use something like
var company_id = jQuery('#helpdesk_ticket_custom_field_company_id_{{freshdesk.id}}');
instead of:
var company_id = jQuery('#helpdesk_ticket_custom_field_company_id_276082');
in apps.
<div id="current_account_id">Freshdesk Account ID is xxxxxx</div>
<script type="text/javascript">
function print_current_account_id() {
console.log('window.current_account_id [' + window.current_account_id + ']');
jQuery('#current_account_id').html('Freshdesk Account ID is <b>' + window.current_account_id + '</b>');
}
jQuery(document).on('ticket_view_loaded', print_current_account_id);
</script>
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.