oh, you also want name=id so that your PHP side can identify it.
<textarea id=data name=data></textarea>
On Tue, Oct 18, 2011 at 10:15 PM, Robert Hanson <[email protected]> wrote:
> 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
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
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