I don't really understand the question.
The insert should be able to work fine with an AJAX submit just like it would with any other form submit. You wouldn't need to do anything special... just trigger the insert using the "any form submit" option.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.