Hi guys,
I am trying to use javascripting below to prompt for selecting a RESIDUE in
a given CHAIN within a PDB file but it is not working:
******************************************************************************
<script type="text/javascript">
function residue()
{
var a = prompt("Enter Residue")
var b = prompt("Enter chain")
if ((!a) && (!b))return
jmolScript("select "+a":"+b)
}
</script>
<button style='width:150' onclick="residue()">Select Residue</button>
******************************************************************************
What am I doing wrong?!
Thanks!
Amjad
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users