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.
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.