Gossamer Forum
Home : Products : DBMan : Discussions :

Re: Calling a custom dbman routine from JavaScript

Quote Reply
Re: Calling a custom dbman routine from JavaScript In reply to
It's not directly possible to call a dbman routine (custom or otherwise) from JavaScript because your JS code runs on the client, while db.cgi runs on the server.

You could, however, generate an URL to view records in your JavaScript and load that page. Alternativly, the URL could be opened in another frame or window. I don't remember the exact syntax. The created URL could be used to add records, query the db, etc.

Provide more details, and I'll make some suggestions.


Subject Author Views Date
Thread Calling a custom dbman routine from JavaScript jim k foster 3857 Jun 23, 2000, 9:03 AM
Thread Re: Calling a custom dbman routine from JavaScript
ELB 3720 Jun 23, 2000, 10:22 AM
Thread Re: Calling a custom dbman routine from JavaScript
jim k foster 3723 Jun 26, 2000, 6:22 AM
Post Re: Calling a custom dbman routine (try 2)
ELB 3708 Jun 26, 2000, 3:45 PM