Hi all, New to the list and jquery. I am trying to bind the JQuery form plugin to multiple forms on a single page. I can do this but I cannot figure out how to assign different options for each form.
The form code is :- <form action="activeResult.tmpl" method="post" id="active-[rid]"> ... </form> Where the rid is unique for each form. My JQuery code is :- $(document).ready(function() { var options = { target: '#td-active-[rid]', url: 'activeSnippet.tmpl' }; $([EMAIL PROTECTED]).ajaxForm(options); }); I cannot figure out how to set a unique target for each form where the [rid] in the target matches the [rid] in the form id. Any help greatly appreciated. Thanks - Tom