I don't know if this is important to you, but you should really use GET,
not POST. POST is supposed to be used when you're actually doing
something to a page like submitting data. There, you're just getting a
form. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

Alan Trick

Richard Ishida wrote:
> I put together a box that expands to accommodate larger text in translation, 
> but I forgot that text on a submit button doesn't wrap :O 
> 
> Original: 
> http://www.w3.org/International/questions/qa-css-charset.en.php#endlinks (see 
> the box to the right)
> First problematic translation: 
> http://www.w3.org/International/questions/qa-css-charset.fr.php#endlinks
> 
> I want the text "Send us a comment" to look like a link, but trigger a POST, 
> so I put the text in a submit button and styled it. Unfortunately the longer 
> translations won't wrap that way.
> 
> <form action="/International/2007/06/surveyform.php" method="post">
> <p><input class="interaction" value="Send us a comment" type="submit"></p>
> <input name="docname" value="/International/questions/qa-css-charset.en.php" 
> type="hidden">
> <input name="referer" 
> value="http://www.w3.org/International/questions/qa-css-charset.fr.php"; 
> type="hidden">
> <input name="lang" value="en" type="hidden"> 
> </form>
> 
> Does anyone know a better way to do this?  I was hoping to avoid using 
> JavaScript, if possible.
> 
> Cheers,
> RI
> 
> 
> ============
> Richard Ishida
> Internationalization Lead
> W3C (World Wide Web Consortium)



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to