TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

normal text as form submit trigger!

Page: 1 Reply
Oct 19th 2002#74484 Report
Member since: Sep 12th 2002
Posts: 28
hello!

I know its possible to have a image as the submit trigger in a form, but i just want plain normal text.

can this be done?

thx!
Reply with Quote Reply
Oct 19th 2002#74491 Report
Member since: Mar 18th 2001
Posts: 6632
No. But you could make your image look like normal text and do it.
Reply with Quote Reply
Oct 20th 2002#74557 Report
Member since: Sep 12th 2002
Posts: 28
ok thanks..

hmm.. this should def be added to the next browser versions
Reply with Quote Reply
Oct 20th 2002#74559 Report
Member since: Mar 20th 2001
Posts: 3367
It has nothing to do with browsers, its the coding standards. HTML, XHTML, XML, WML, Javascript are what makes a website, not a browser. A browser just renders what you code.
Reply with Quote Reply
Oct 20th 2002#74562 Report
Member since: Sep 12th 2002
Posts: 28
well the codes comes from the browsers!

the html language comes from the browser module... every time a new version of internet explorer comes out, new html are added...
Reply with Quote Reply
Oct 20th 2002#74563 Report
Member since: Mar 20th 2001
Posts: 3367
New HTML? Nope.. Only enchancements for IE and not other browsers. Which is why there's W3C to standardize the markup language.

I don't see something like [image][/image] added by Microsoft for IE. If that were to happen, then there's chaos. Another example would the the colored scrollbars you have for ONLY IE. Its just an extra enchancement. Not Opera, Netscape nor Mozilla has it.
Reply with Quote Reply
Oct 20th 2002#74577 Report
Member since: Jun 30th 2001
Posts: 447
You can have text submit a form by using JavaScript. In order for this to work you have to name your form within the initial form tag. So just follow the example below.

[code]<form name="myForm" action="whatever.cgi" method="post">
<a href="#" onClick="javascript:document.myForm.submit()">Submit this form!</a>
</form>[/code]

There shouldn't be a space in between java and script inside the onClick event handler.
Reply with Quote Reply
Oct 20th 2002#74590 Report
Member since: Sep 12th 2002
Posts: 28
ok thanks Hunkarama!

the code comes with the browsers sidez, thats all i mean...
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum