Jump to content

button


zachary
 Share

Recommended Posts

add this attribute to the button for the text:value="yourtext"I'm not sure but this should make it unclickable after clicking, just add another attribute:onmousedown="this.disabled='disabled'"LG

Link to comment
Share on other sites

im making a button and need to add text on it<input type="button" name="submit">and i was also wondering how to make it unclickable once you "submit"

try This
<HTML>    <HEAD>        <script>            function Fn_Click()            {                document.forms(0).Submit.disabled = true;            }        </Script>    </HEAD>    <BODY>        <Form>            <Input Type="Button" Name="Submit" Value="Submit" OnClick="Fn_Click();">        </Form>    </BODY></HTML>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...