I have a label that I want to hide initially and then display with the resultant values when the Submit event of the dialog box occurs. The label should not be visible at first, which is correct. However, even after clicking the submit button, it is not showing. Here is my code:
Here is the HTML code for the label:
<label class="button2" style="display:none" id="insert-data"> Sites</label>
And here is my jQuery script:
$('#insert-data').removeAttr('display');
$('#insert-data').html(variable);