Okay, I know how to send events to Girder using the <a href="javascript:document.title='GirderEventName'; "> trick.
Now, the question is: Is it possible for me to send arguments (payloads) along with an event using HTML (JavaScript/Flash)?
The idea is to create a host HTML document with a text form field that can send arguments to Girder:
....where sendEvent() would be a generic function that receives its value from the text field 'inputText' and sends it to Girder as arguments (payloads) upon the event.Code:<form name="userInput"> <input type="text" name="inputText"> <input type="button" value="Send Text" onClick="sendEvent(document.forms['userInput'].elements['inputText'].value);"> </form>
Anyone have any ideas how to accomplish this?


Reply With Quote
