Hi XForms geeks!
I'm need to access an XForms instance from my Javascript code. I see there are
several approaches mentioned on this mailing list before:
- Submission to a Javascript function
- xf:load with javascript:function on the resource attribute
- onclick event on a plain HTML button
For the last two, this code used to work for getting an instance as a
Javascript Object:
var model = window.document.getElementById("modelid");
var doc = model.getInstanceDocument("instanceid")
On the last updates of XSLTForms, this code doesn't work anymore.
I think the right way of doing it is with a submission to javascript:function()
but there aren't examples available.
Could somebody share an example or links to the code with the right way of
doing it?
Thanks,
William David Velásquez
Director de I+D
Visión Tecnológica S.A.S.
Tel: (4) 444 7292
Cel: 313 743 54 11
[email protected]
Follow me: @williamda
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support