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

2007-11-21 Thread Ronald Evangelista
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 | |__|__|_|) (@!)!(@)**|(@) (@)|(@)

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

2007-11-21 Thread Jonas Pfenniger
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

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

2007-11-21 Thread ronald
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