where do i get the return value of a javascipt method?

Ronald Evangelista ironald at gmail.com
Wed Nov 21 03:54:05 EST 2007


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 | |__|__|_|)
(@!)!(@)"""""**|(@) (@)****|(@)

(¯`'•.¸(¯`'•.¸(¯`'•.¸ . Have a Terrific Day!  .•'´¯)¸.•'´¯)¸.•'´¯)¸.•


More information about the Camping-list mailing list