Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Help with coding

Asked Modified Viewed 1,653 times
D
Drbo
D
Drbo 10
WinXP, Opera 12.14
  • Senior Member, joined since
  • Contributed 258 posts on the community forums.
  • Started 55 threads in the forums
  • Started this discussions
asked
Senior Member

Hi,

I have a simple question: Is it possible to do submit in the any form like a link (not like a button)?

Thanx.
0 replies

2 posts

B
Bman
B
Bman 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
answered
Newbie

Yup,

use the onClick='name.submit' paramater in an anchor tag.

for example


<form name='TEST' action='news.php' method='POST'>
<a onClick='test.submit'>Click Me to submit</a>
</form>


What you were looing for?

Dave
0 replies
D
Drbo
D
Drbo 10
WinXP, Opera 12.14
  • Senior Member, joined since
  • Contributed 258 posts on the community forums.
  • Started 55 threads in the forums
  • Started this discussions
answered
Senior Member

Quote

Bman wrote:
Yup,

use the onClick='name.submit' paramater in an anchor tag.

for example


<form name='TEST' action='news.php' method='POST'>
<a onClick='test.submit'>Click Me to submit</a>
</form>


What you were looing for?

Dave


It doesn't work... :| But doesn't matter, I will use a standard button. Thanx.
0 replies

Category Forum

General Discussion

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

B
B
Bman 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
D
D
Drbo 10
WinXP, Opera 12.14
  • Senior Member, joined since
  • Contributed 258 posts on the community forums.
  • Started 55 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet