I have a piece of jQuery code in partial view as:
//Reset values
ResetAllFields();
HideDiv();
//Hide buttons
$('#btn-id').hide();
The two lines //Reset fields
and //Hide buttons
are successfully commented.
But, even after I comment out the line as:
//HideDiv();
and execute it in debugger mode in chrome, pressing F12, the function gets called, i.e. the line is not commented.
I also tried commenting it out as @* HideDiv() *@
but in vain.
Am I missing something here? Or, is there a different syntax ?