Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text as form element 1

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
Is is possible to have text be a form element- use as a submittion method as opposed to a button or image? if so- can this still have a style applied to it?
 
do you mean something like
<a href=&quot;&quot; onClick=&quot;formname.submit()&quot; style=&quot;font-family:georgia;&quot;>submit form</a> ---------------------------------------
{ str = &quot;sleep is good for you. sleep gives you the energy you need to function&quot;;
ptr = /sleep/gi;Nstr = str.replace(ptr,&quot;coffee&quot;);alert(Nstr); }
---------------------------------------
for the best results to your questions: FAQ333-2924

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top