Update: in IE 10 and 11 (Windows 7), if I wrap the pseudo-URL expression in an array, a function constructor, or an anonymous function, the browser seems to evaluate it successfully, but still throws a (different) error: "Bad URI value, no scheme: undefined."
Other than pseudo-URLs, how can I execute a JavaScript function from a subform once it has loaded? I tried loading the subform with a trigger and attaching an event listener to the trigger, and this also works in Firefox and Chrome, but not IE. Thanks, Tim On Thu, Jun 4, 2015 at 4:18 PM, Tim Thompson <timat...@gmail.com> wrote: > Hello, > > I am using subforms to build a single-page-style app in XSLTForms. So far, > this seems like a very flexible and powerful design pattern. I have a main > form with a nav bar that links to different subforms to populate the page > body. When a subform is ready (once the "xforms-subform-ready" event fires > in the subform), I need to load a bit of JavaScript to pull in a couple of > other libraries I am using. I can do this with an XSLTForms javascript: > pseudo-URL on the xf:load element, and it works perfectly in Firefox and > Chrome. > > However, in IE 11 (have not tested other versions), the browser cannot > parse the pseudo-URL, and the app fails to load. I get an XSLTForms > Exception error stating, "Error evaluating the following Javascript > expression." > > Is it possible to support pseudo-URLs in IE? > > Thanks so much, > Tim >
------------------------------------------------------------------------------
_______________________________________________ Xsltforms-support mailing list Xsltforms-support@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xsltforms-support