From: Paul P. <pau...@ac...> - 2011-09-15 14:25:17
|
Hi Daniel, for example, in your jmol initialization script you could have set messagecallback "answer" in your javascript you can have the following function function answer(txt1,txt2) { var messageBox = document.getElementById("textbox"); messageBox.value = txt2 + "\n" + messageBox.value } in your HTML you can have the following <textarea rows="10" cols="30" id="textbox">Messages displayed here !<textarea> Paul Le 15 sept. 2011 à 15:51, Daniel Carbajo a écrit : > Thanks Angel, is there anywhere some example code for this I can rely on? I'm trying things but not succeeding... > > El 15 de septiembre de 2011 12:20, Angel Herráez <ang...@ua...> escribió: |