Firstly apologies for the strange title. Couldn't think of one lol.
When i hide an element in code behind (c#), for example:
btnRemoveAvail.Visible = false;
then the following jquery line wont work (when the time comes to unhide):
$('#btnRemoveAvail').show();
(it returns no error at all, as if its 100% cool.. but nothing happens)
I tried then the following (as the jquery forum says .show is similar to setting display to block..?):
document.getElementById("btnRemoveAvail").style.display = "block";
And that returned an error: document.getElementById("btnRemoveAvail") is null
I am sure its probably something simple that i am completely misunderstanding between code behind and HTML..