I ended up modifying the href of a link with the values of the form
fields and having the form click on it. here's the HTML/JQuery:

HTML:

<form name="aformname" action="http://www.google.com/d.jsp";
target="iframe" method="post" id="bid">
        <input type="text" id="ccc" name="ccc" value="" class="text" />
        <input type="submit" name="go" value="" id="button">
</form>
<a href="#" rel="prettyPopin" id="form_submit"
style="display:none">popin</a>

JQuery:

<script>
$(document).ready(function(){
        $('#bid').submit(function(event){
                event.preventDefault(); // prevent the form from activating
                var lsAction = $(this).attr("action");
                var lsCCCvariable = $('#ccc').val();

                $('#form_submit').attr("href",'iframe.html?a=' + lsAction + 
'&ccc='
+ lsCCCvariable).click();
        });
        $("a[rel^='prettyPopin']").prettyPopin({});
});
</script>

not the most elegant solution: any suggestions?

On Dec 11, 1:26 pm, Benn <[email protected]> wrote:
> This should be a simple matter: I'm using a plugin, prettyPopin. and I
> want a form to submit to it (activate it). How do I get prettyPopin to
> activate on form submit!

Reply via email to