<!-- Add Attachment File control -->
<table width="100%">
<tbody><tr>
<td width="190" class="ms-formlabel" valign="top" style="font-family: verdana; color: #525252; font-size: 1em; font-weight: normal">Add Attachments: </td>
<td class="ms-formbody" id="attachmentsOnClient" valign="bottom">
<td class="ms-formbody" id="attachmentsOnClient" valign="bottom">
<span dir="ltr">
<input name="fileupload0" title="Name " class="ms-fileinput" id="onetidIOFile" type="file" style="width: 386px"/> </span>
</td></tr>
<tr><td> </td>
<td class="ms-attachUploadButtons" >
<tr><td> </td>
<td class="ms-attachUploadButtons"
<input id="attachOKbutton" onclick="OkAttach()" type="button" value="OK " style="width: 5.8em; height: 1.8em"/> <span id="idSpace"></span></td>
</tr> </tbody></table>
<!-- Hide File Attachment Button on Ribbon-->
<script src="http://ajax.googleapis.
</script><script type="text/javascript">
$("span.ms-cui-ctl-largelabel:
$("span.ms-cui-groupTitle:
</script><!-- Hide File Attachment Button -->
Use in list forms & Enjoy :)