Scott, Try something along the lines of:
get revBrowserCallScript(sBrowserId, "testMe()") or get revBrowserCallScript(sBrowserId, "javascript:testMe();") As far as I know, you can't invoke javascript functions without the parenthesis. In that call of yours you are refering to a variable named testMe and not the testMe() function. Hope this helps. Andre On Thu, Jul 22, 2010 at 8:29 AM, Scott Rossi <[email protected]> wrote: > Has anybody gotten the revBrowserCallScript function to work on OS X? > > No matter what I do, I seem to continually get errors when trying to use > this function. Even when doing a simple test function, Rev says an error > occurred: > card "videos": execution error at line n/a () near "-[WebUndefined > cStringUsingEncoding:]: unrecognized selector sent to instance 0x19790990" > > -- Rev script > get revBrowserCallScript(sBrowserId, "testMe") > > -- Javascript function on local test page > function testMe() { > alert("got message"); > } > > The frustrating part of this is the alert message gets displayed as > expected, and after clicking OK, Rev throws the error. > > Anyone have any suggestions to troubleshoot this? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
