[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] CAN NOT Passing value from XML Applet
Hello all, May anyone know how to pass the XML Applet's record Field as the script parameters. I want to passing the XML's Field "ShowHelpText" to the script to display the text in the AreaText. BUT I have checked the value with loaded in the onMouseOver Event as followed, <a onMouseOver="ShowAttribText(datafld=<span datafld=URL></span>)" onMouseOut="hide()" target="_self" href=<span datafld=URL></span> <span datafld=Label></span></a></td> Thanks all, From Andy Lui -------------------------------------------------------------------------------- ------------------------------------- Source Code as below -------------------------------------------------------------------------------- ------------------------------------- ........... <SCRIPT language=JavaScript><!-- function hide() { document.all("ONE").value = ''; } function ShowAttribText(xText) { document.all("ONE").value = xText; } //--> </SCRIPT> ........ <applet code=com.ms.xml.dso.XMLDSO.class width=0 height=0 id=GuidanceNote> <param name="url" value="GuidanceNote.xml"> </applet> ........ <table id=cc1 cellspacing="0" cellpadding="0" datasrc=#GuidanceNote> <tr> <td width="10" bgcolor="white"></td> <td width="190" height="22"> <a onMouseOver="ShowAttribText(datafld=<span datafld=ShowHelpText></span>)" onMouseOut="hide()" target="_self" href=<span datafld=URL></span> <span datafld=Label></span></a></td> </tr> </table> </td> </tr> </table> <table> <tr> <td width="20" bgcolor="green"></td> <textarea name="ONE" width="200" rows="6" ></textarea> </td> <td width="20" bgcolor="green"></td> </tr> </table> ......... </html>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|