Welcome visitor
* Login
* Register
It is currently September 20th, 2019, 1:45 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  hide submit button
PostPosted: May 18th, 2009, 9:43 pm 

Posts: 22
What i want to do is hide de submit button after the form is submitted and replace it for a text instead of it, how could i do that?


Top
 Profile  
 
  Re: hide submit button
PostPosted: May 18th, 2009, 10:15 pm 

Posts: 117
<form onsubmit="document.getElementById('snd').style.display='none';
document.getElementById('t').style.display='block'; return false">
<div id="t" style="display:none">blank</div>
<input id="snd" value="INPUT" type="submit" />
</form>

Hope this helps.


Top
 Profile  
 
  Re: hide submit button
PostPosted: May 18th, 2009, 10:16 pm 

Posts: 22
yes it does, thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron