[Xsltforms-support] Change instance via JavaScript?
Brought to you by:
alain-couthures
From: <st...@sa...> - 2011-11-01 13:18:06
|
Hello, I have an XForm in one page which I would like to update from either a second page hosted by an iframe within the first, or from a popup opened by the page. I need to change an instance value in the parent form. I can activate an xforms:trigger from an external page, but have not been able to see how to set the value with which to update the instance. So, I thought maybe updating the instance directly and then rebuild/refresh would work, but with that approach I can get as far as updating the nodeValue and then the rebuild/refresh does not update the display. What I would like to do is the kind of thing exemplified by some sample code (snarfed from the net) which is at: http://oracc.museum.upenn.edu/p2/changeme.xml Any ideas? Thanks, Steve |