You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Chihpeng Lin <ch...@yahoo.com> on 2005/12/14 10:40:34 UTC

Javascript confirmation message

Hi!
  
  Does any one knows a way to display a javascript confirmation box such as
  "Do you wish to delete this record? (Yes/No)" when the user clicks the submit button?
  
  I know there's a way to do this:
  
<input jwcid="submitButton" onclick="javascript:return confirm('OK to 
submit?');" ... />

But the message is hard coded in HTML template. How do we handle L10N?

Thanks!

  

			
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping