I am using Hobo 0.8.7 Found this for 0.8.8:
hobo-rapid.js Hobo.applyEvents is gone - now uses lowpro for all JS events Only do resetForm on success. Add new onSuccess callback to Hobo.ajaxRequest So, things have changed since my version. Installing the latest version of Hobo a good idea to just get the latest hobo-rapid.js? That seems scary, especially since you made some comments that on account of new additions to 0,8.10 it may have stability issues. Cheers, jet jet On Nov 5, 3:58 am, Bryan Larsen <[email protected]> wrote: > Yes, this is supposed to wok, and has worked for me in the past. > There are outstanding issues with the parameters and the "this" that's > passed into the function, but the function itself should be called on > success. > > Do you have a current version of hobo-rapid.js installed inside of > your application? > > Bryan > > On Nov 4, 4:58 pm, blueHandTalking <[email protected]> wrote: > > > In the Hobo Cookbook, it mentions in the Rapid Forms section: > > > "The following attributes are also supported by all the ajax tags. Set > > them to fragments of javascript to have that script executed at > > various points in the ajax request cycle: > > > before: script to run before the request > > success: script to run on successful completion of the request > > failure: script to run on a request failure > > complete: script to run on completion, regardless of success or > > failure." > > > So does this mean just regular javascript, or rjs? > > > I am trying to run a javascript function that is in a file I load with > > the page. > > This is to correct IE 6 not handling png image. > > > in my form I have: > > > <login-form update="archsignup" success="if (pngfix) pngfix();" /> > > > This is output (in Firefox, hopefully the same in IE 6) as: > > > <form class="login" onsubmit="Hobo.ajaxRequest(this, > > ['archsignup'], {onSuccess:function(request){if (pngfix) pngfix();}}); > > return false;" method="post" action="/login"> > > > So is this call to Hobo supposed to run the script that is on the > > client side? > > It is not doing so at this point. > > > Cheers, > > > Jet --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
