Bugs item #1455866, was opened at 2006-03-22 01:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1455866&group_id=23629
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Einar Coutin (einarc) Assigned to: Nobody/Anonymous (nobody) Summary: Jmol and Javascript Initial Comment: Hello. Could it be posible to pass variables between applications, like the actual script selected in a JmolMenu object to a jmolLink. I've created a function to make a clickable image in Jmol.js based on the jmolLink function. I use it to load new data into the applet, I would like to pass data from other controls, like menus into this function along with the script I use it for. For example the value propertie from the select in the jmolMenu function is an script Index instead of the actual value. I could do this by calling some objects in javascript within a function: document.myform.jmolMenux.options[document.myform.jmolMenux.selectedIndex].value; but that doesn't return anythin. If for example i pass the document.myform.jmolMenux as a variable to the new function, wheter in Jmol.js or in the html page if I try to return the typeof that variable, it says its an object, but If i try to read the variable itself it says its am [object] PLz need advice form someone with javascript experience. It makes the same effect if I pass two variables with the form and the select jmolMenu ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1455866&group_id=23629 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
