Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[HTML]Using text as form submit?

Custom Title Activated
Loyal Member
Joined
Sep 28, 2004
Messages
2,484
Reaction score
4
Hi I was wondering if any of you guys knew how to use some text to submit a form?

I have never needed to do this and I am having a hard time finding out how. Any suggestions?

-----------------------
Never mind I found out.
-----------------------
 
-sama
Loyal Member
Joined
May 3, 2008
Messages
1,392
Reaction score
7
hmm, I'm really curious about that, onclick="javascript:submit();"...

hmm, what html we're going to use? <a href=""></a>??
 
Experienced Elementalist
Joined
Apr 18, 2005
Messages
254
Reaction score
0
<a href="?" onclick="javascript:submit();"></a>
Though I do think you need some more in that onclick event like form_submit, I am not sure however. Test that one first and google it if it's not working.
 
Super-Moderator
Staff member
Super-Moderator
Joined
Jan 18, 2007
Messages
6,658
Reaction score
3,337
This seriously depends on when you want to submit the form.

The form post is dependent on some kind of action. So you can do an onclick on a link, or an onload (when page loads) or some other action on the page to kick off the submit action.

How would you use "text" to submit it? If you don't mean a hyper link, please explain your vision.
 
Back
Top