how do i get the value of a javascipt confirm() function?
a(:href=R(DeleteUser, @user.id), :onclick = javascript:confirm('You
sure about this?')){label}
any tips?
thanks!
--
|\ .||
|NALDEVNGELSTA.___||'|\___,
| l | |__|__|_|)
(@!)!(@)**|(@) (@)|(@)
2007/11/21, Ronald Evangelista [EMAIL PROTECTED]:
how do i get the value of a javascipt confirm() function?
a(:href=R(DeleteUser, @user.id), :onclick = javascript:confirm('You
sure about this?')){label}
Try adding the return statement, like return confirm(sure ?). But
it is better to use a
i got the same solution just before reading ur reply.
thanks!
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list
3 matches
Mail list logo