hye..
I'm facing a problem to change the button from invisible to white color under if condition. I just manage to make it disable. Can you please tell me what's is the problem please.
Here are my js coding:
here are the button:PHP Code:<script type="text/javascript">
function get_radio_value()
{
if(document.welcome.noofpeople[i].value==1 || document.welcome.noofpeople[i].value==2) {
document.table.t1.disabled = true;
e = document.getElementById("t1");
if(null != e)
{
e.style.color = "white";
}
}
</script>
Thanks in advance for your help.PHP Code:<input name="t1" id="t1" disabled="disabled" style="height: 25px; width: 30px; border: transparent; background-color: transparent; font-weight: bolder; color: #FF00FF;" type="submit" value="T1" class="style4" />
![]()


Reply With Quote
Bookmarks