convert javascript/.js file to JQuery
<p>i have the following JavaScript code which I like to convert to jQuery but has no luck.</p>

<p>how to convert the javascript in jquery.</p>

<p>Any help is greatly appreciated.</p>

<pre><code>var deleteId;
var signid;
</code></pre>

<p>wat is the syntax for converting following function in jquery</p>

<pre><code>function checkYourEmail() {
    var email = document.getElementById('txtyouremail');
    var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
    if (!filter.test(email.value)) {
        return false;
    }
    else {
        return true;
    }
}

function Getelements() {
    if (document.getElementById("txtyouremail").value == "") {
        alert("Please enter your email Id");
        document.getElementById("txtyouremail").focus();
        return false;
    }
    else if (!checkYourEmail()) {
        alert("Please enter valid email Id");
        document.getElementById("txtyouremail").focus();
        return false;
    }
    else if (document.getElementById("txtrecipientemail").value == "") {
        alert("Please enter recepient email Id");
        document.getElementById("txtrecipientemail").focus();
        return false;
    }
    else if (!checkReciEmail()) {
        alert("Please enter valid recepient email Id");
        document.getElementById("txtrecipientemail").focus();
        return false;
    }
    else {
        var values = [];
        var ele = document.getElementById("TextBoxContainer");
        var inputC = ele.getElementsByTagName('input');
        for (var i = 0; i &lt; inputC.length; i++) {
            if (inputC[i].type == "text") {
                 var obj = new Object();
                 obj.Id = inputC[i].id;
                 obj.X = findPositionX(document.getElementById(inputC[i].id));
                 obj.Y = findPosY(document.getElementById(inputC[i].id));
                 obj.Font = document.getElementById(inputC[i].id).style.fontFamily;
                 obj.Val = document.getElementById(inputC[i].id).value;
                 obj.Orderid = querySt("id");
                 obj.width = document.getElementById(inputC[i].id).style.width;
                 var val = parseInt(obj.Y) / 791;
                 val = Math.ceil(val);
                 obj.imageid = querySt("id") + val + ".png";
                 values.push(obj);
             }
         }
</code></pre>

<p>thanks a lot in advance.</p>
