Thanks Mike, I thought the basic code was correct.
What wasn't correct was my call to "after_SS" - I'd made a typo on
this function's name.
Cheers,
Bruce
At 02:29 a.m. 15/02/2007, you wrote:
>Bruce,
>
>That code looks ok to me. Do you have a sample page somewhere we
>could look at?
>
>Based on your description it sounds like the submit handler is not
>getting bound. If it was, your 'return false' would prevent the page
>navigation. Is $('#ss1_form') the right selector?
>
>Mike
>
>
> > function getSS(ej) {
> > $.ajax({
> > type: 'GET',
> > url:
> > "scripts/ajax_ramosus_editor.asp?id=22d&showID=" + ej +
> > "&q=" + new Date().getTime(),
> > dataType: "html",
> > success: function(html){
> > $("#advMsg3").html(html).show();
> > var SS1options = {dataType: 'json', after: after_SS};
> >
> > $('#ss1_form').submit(function(){$(this).ajaxSubmit(SS1options);return
> > false;});
> > }
> > });
> > };
>
> > What is my mistake?
>
>_______________________________________________
>jQuery mailing list
>[email protected]
>http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/