Executing JavaScript from AllegroServe
Robert Clark <[email protected]> Wed, 06 Aug 2003 15:12:23 -0600
| Newsgroups | gmane.lisp.open-source.franz |
|---|---|
| Message-ID | <[email protected]> |
Say I have a web page that I've served up with AllegroServe (AS), and the page has a button on it. How do I click on the button and execute CL code which in turn executes JavaScript code without serving up a new page? Here's my real situation: AS serves up a page with a JavaScript TreeView object in it, with only the first level built (I don't want to build the whole tree - it's too big!). When the user clicks to expand one of the folders, I want to execute CL code which generates JavaScript code to generate the new nodes. (effectively onmouseclick="foo(folderID)", where foo() is a CL function, which generates JavaScript like createNode(folder, node1); createNode(folder, node2); ...). Bob Clark