zachary Posted April 6, 2006 Share Posted April 6, 2006 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" Link to comment Share on other sites More sharing options...
Little Goat Posted April 6, 2006 Share Posted April 6, 2006 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 More sharing options...
Siddhesh Posted April 6, 2006 Share Posted April 6, 2006 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"<{POST_SNAPBACK}> 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now