I have a php code that uses a "Registration" button. Based on data input by form, form is either Submitted or a Message is "echo[ed]". Then a "Continue" button is displayed which uses META tag to auto refresh. But the "Registration" button is there as well.

I wanted to remove the "Registration" button when "Continue" button is displayed.

Please help.
Thanks in advance.

Do this via javascript.

<script type="text/javascript">
fuction remove()
{
document.getElementByID("Button").style.display = "none";
}
</script>

//K0ns3rv

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.