I am new to jQuery and really new to the form plugin so I must be missing something simple but I can't figure out what is wrong.

I have this form:

<div class="print">
        <h3>Print Items Due Report</h3>
        <form id="printForm"  action="printRange.php" method="post">
        Date to Print<br />
                <input type="text" name="dueDateWest" id="dueDateWest" />
                <input type="submit" name="printItems" id="printItems"                       
                  value="" />
        </form>

If I put this in the ready function: $('#printForm').ajaxForm();

Firebug shows show a response and post that seem correct, but printRenge.php does not format a page to print.

If I put anything in front of #printForm like this: $('XX#printForm).ajaxForm() firebug says "reload to activate window console" and printRange.php formats a page.

Can anyone tell me what I am doing wrong?

Thanks,  Jim

Reply via email to