change jquery to javascript simple code
<p><strong>sorry guys, asked a bit wrongly, here is the EDIT</strong></p>

<p>got a simple question, how to change the this jquery code to a javascript:</p>

<pre><code>$("#gotoPage").click(function(){
        var abr = $("#txtPageNumber").val();
        paging_go_page_('cf_pages_form_name1',abr);
    });
</code></pre>

<p>and this inputs:</p>

<pre><code>&lt;div class="gotoPage_div"&gt;
                &lt;input type="text" id="txtPageNumber" class="txtPageNumber" onkeyup="this.value = this.value.replace(/[^0-9\.]/g,'');check(this);" value="&lt;cfoutput&gt;#attributes.page#&lt;/cfoutput&gt;" /&gt;
                &lt;span&gt;Lütfen, sayfa numarası giriniz &lt;cfoutput&gt;1-#lastpage#&lt;/cfoutput&gt;&lt;/span&gt;
            &lt;/div&gt;
            &lt;div class="gotoSubmit"&gt;
                &lt;input type="submit" id="gotoPage" class="gotoPage" value="Değistir" style="width:50px;" /&gt;
            &lt;/div&gt;
</code></pre>

<p>to smth like this: </p>

<pre><code>function change_page {
        var abr = document.getElementById('txtPageNumber').value;
        document.change_page.action=paging_go_page_('cf_pages_form_name1',abr);
    }
</code></pre>

<p>and i created a form and i want to change its action:</p>

<pre><code>&lt;form method="post" name="change_page" action="change_page()"&gt;
            &lt;div class="gotoPage_div"&gt;
                &lt;input type="text" id="txtPageNumber" onblur="if (this.value=='') this.value = this.defaultValue" onfocus="if (this.value==this.defaultValue) this.value = ''" class="txtPageNumber" onkeyup="this.value = this.value.replace(/[^0-9\.]/g,'');check(this);" value="&lt;cfoutput&gt;#attributes.page#&lt;/cfoutput&gt;" /&gt;
                &lt;span&gt;Lütfen, sayfa numarası giriniz &lt;cfoutput&gt;1-#lastpage#&lt;/cfoutput&gt;&lt;/span&gt;
            &lt;/div&gt;
            &lt;div class="gotoSubmit"&gt;
                &lt;input type="submit" id="gotoPage" class="gotoPage" value="Değistir" style="width:50px;" /&gt;
            &lt;/div&gt;
        &lt;/form&gt;
</code></pre>

<p>thank you all for help!</p>
