Hi,
I'm having a bit of trouble hiding a button of all things.
The button is defined on the page as:
<
input id="btnStart" type="button" name="btnStart" value="Start Again" />
and my code to hide it is:
$(document).ready(
function () {
$('#btnStart').closest('.ui-btn').hide();
I've also tried the regular:
$(document).ready(function () {
$('#btnStart').hide();
but neither works when the page is first loaded. The ui-btn approach works on further functions, but not when the page is initially loaded.
Can anyone help?