Jean-Christophe Roux
2007-Sep-03 22:51 UTC
PeriodicalUpdate with parameter that changes at each update
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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---