The following *should* work:
onclick="return confirm('You sure?')"
... if chaining of JS handlers is implemented correctly.
-- Adam
On 5/9/06, Pich <[EMAIL PROTECTED]> wrote:
Is it possible to have a confirm popup (for example use javascript confirm)
on a button created with a JSF impementation, e.g. MyFaces, Tomahawk. The
functionality I am looking for is that the user can click a button to close
the browser window, but he must confirm it by click OK on the popup or
Cancel if he does not want to close the window.
Regards
Pich
--
View this message in context:
http://www.nabble.com/Confirm-JSF-button-click-t1586986.html#a4306886
Sent from the My Faces - Dev forum at Nabble.com.