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

Re: css image url's and :img problem

2007-11-21 Thread pedro mg
On Sun, Nov 18, 2007 at 04:10:04AM +, pedro mg wrote: img :src = R(Static, 'img04.jpg'), :alt = 'test image' Hi, anyone using Lighttpd + FastCGI to run Camping using Why's configuration shown at 4) in: http://code.whytheluckystiff.net/camping/wiki/TheCampingServerForLighttpd Focusing on