First, use a textarea, not an input tag. Input tags are limited in length of
response.

<textarea id=data></textarea>



document.getElementById("data").value = jmolEvaluate('select
*;write("PDB")')

The way you make the form hidden these days is just to use

<div style="display:none">


</div>

around it.




On Tue, Oct 18, 2011 at 1:15 PM, Martin Hediger <[email protected]> wrote:

> Dear List
> We have a server providing a website with a Jmol Applet running (version
> 12.3.1) in an HTML form. I set "allowRotateSelected" to "True".
> Now, what I want is, that after I move the molecule (moving it using
> <ALT>+<Left_Mouse>) to save the new coordinates (on the server).
> It was pointed out to me, that this could be done by storing the
> coordinates in a hidden element of the form, and after submitting the
> form to the server, a CGI script could access the data from that element
> (i'm not a webdesign expert, this is how I would phrase it) and write it
> to the server disk.
> The page so far looks like this:
>
>
> Bob
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to