var form = $('<form/>', {
action: 'SupportRequest',
method: 'POST',
name: 'myForm',
id: 'myForm'
}).appendTo('body');
I have to add enctype="multipart/form-data"
manually during form creation, how do i do this so that the above code looks like
<form class="hidden" id="myForm" mrthod="post" enctype = "multipart/form-data" action="myservlet">
and also please tell me how to make it of class='hidden' manually