Currently I'm using the latest version of the jQuery plugin Thickbox:
http://jquery.com/demo/thickbox/
What I'm trying to do is echo out the value of a form in the same
Thickbox window using ajax.

I'm also using the jQuery.Form plugin. Here's my code, if anyone could
help that'd be awesome.

// other js libraries are imported (jQuery/tb)

<script type="text/javascript">
$(document).ready(function() {
        $('#htmlForm').ajaxForm({
             target: '#TB_window #heh',
             success: function() {
                alert("hehehe");
             }
            }
        )};
)};
</script>


<form id="htmlForm" method="post">
<input type="text" name="yo">
<input type="submit">
</form>

<div id="heh"></div>

Reply via email to