Hola :)
Add "return false;" to avoid href calls.
<a href="/users/del/1" onclick="Dialog.confirm('Esta seguro que desea
borrar el usuario', {windowParameters: {width:300}, okLabel:
'Borrar', buttonClass: 'myButtonClass', id: 'myDialogId'}); return
false;">
Seb
On Jan 20, 2007, at 7:27 PM, Stefano Salvatori wrote:
hello
this is my first email to this list, window prototype is a good
project i like it so much xD
i working with cakephp and i want use window prototype, now is
working but without any helpers :( just with de javascirpt code
into views :P
i have a little problem with confirm dialog
i have this html that was gen by cakephp
<a href=
"/users/del/1" onclick="Dialog.confirm('Esta seguro que desea
borrar el usuario', {windowParameters: {width:300}, okLabel:
'Borrar', buttonClass: 'myButtonClass', id: 'myDialogId'});"
>
i can see the confirm dialog but also the link to /users/del/1 is
loaded so i can't use the confirm :(
this is my problem :()
sorry for my bad english :P
anyone can help me pls :P
--
Stefano Salvatori
[WEB]: http://stefano.zero.org/
[FLOG]: http://www.fotolog.com/ssalvato
[MSN]: [EMAIL PROTECTED]
[ICQ]: 273157944
[YAHOO_ID]: il_padrino_cl
[SKYPE_ID]: stefanosalvatori
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com