Modalbox Classic ASP form update problem?

  • Thread starter Thread starter bb98uk
  • Start date Start date
B

bb98uk

Guest
I am setting up a web form that is activated by modalbox.show. I am trying to get some response form values out to update a database record via ASP (classic).

However, the modalbox (http://www.wildbit.com/demos/modalbox/) documentation doesn't make things clear... how do I do it? where do I place the updates (on the modal form submit or within the parent window? I have tried some examples - but I get errors on form elements not being found or the javascript calls not being found.. I have also tried to do an AJAX update call within the ModalBox.hide(afterHide:) (the update would call a ASP update script). However when I run it in Firefox with the error console switched on - it is saying that it can't find my function... and I have placed it in the modalbox window script and the parent.... confused...



so on the parent window I open a modalbox as follows:
<a href="ModalWindow.asp?id=30" class="demo-btn" title="show stuff" onclick="this.blur(); Modalbox.show(this.href, {title: 'Stuff information', width: 750, slideDownDuration:0.05}); return false;">To Modal test</a>

and on the modalbox window script I have a:

<input type="button" value="save23" onclick="Modalbox.hide({afterHide: function() { alert('a');AjaxUpdate4(); } }); return false;">


and the AjaxUpdate4 script function just doesn't seem to be found according to the error console.

where can I get more information (and examples) of ASP using modalbox ?
 
Back
Top