Hello list,
The basic test here-attached fails to trap the event and run the JScript.
Using v1.6 via chrome.
TIA for any help.
Robert.
<?xml version="1.0" encoding="utf-8"?>
<?xsltforms-options debug="no"?>
<html xmlns:ht="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:ev="https://www.w3.org/2001/xml-events">
<ht:head>
<xf:model></xf:model>
<ht:script type="text/javascript" src="http://localhost:1180/XForms/xsltforms/xsltforms.js">
<!-- -->
</ht:script>
<ht:script type="text/javascript">function test() { alert('Focus in') }</ht:script>
</ht:head>
<body xmlns="http://www.w3.org/1999/xhtml">
<div>
<xf:trigger>
<xf:label>test</xf:label>
<xf:action ev:event="DOMFocusIn">
<xf:load resource="javascript:test()" />
</xf:action>
</xf:trigger>
</div>
</body>
</html>_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support