Hello,
Inside my PeriodicalUpdater, I'd like to have
{ parameters: { section: function()
                                              {
                                                    if($('section') == null)
                                                        return 1;
                                                   else
                                                        return 
$('section').value;
                                                }


This does not work because the value sent to the server is not the returned 
value of the function but the string 'function...'.
Any idea, how I could do that? 
Also, it is important that, at each update, the server be requested the latest 
value of $('section'); I am not sure if this is what PeriodicalUpdater would do 
assuming I can fix the problem above.
Thank you!




       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to