I don't follow what you are asking... perhaps more code and an example of what you are trying to achieve would help.
-----Original Message----- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of lowercase Sent: Thursday, August 27, 2009 9:05 PM To: jQuery (English) Subject: [jQuery] validate form How do I change the ID commentForm here: $().ready(function() { $("#commentForm").validate(); into a variable of its own so that it can be declared here, which already has an ID declared: <form class="cmxform" id="commentForm" method="post">