manipulating jquery options on-the-fly
<p>i use a jquery plugin and want the user to be able to manipulate an option (LENGTH parameter) him/her-self. </p>

<pre><code>$(document).ready(function() {             
    $('#green').smartpaginator({
        totalrecords: &lt;? echo $count;?&gt;,
        length: 3,
        recordsperpage: 3,
        datacontainer: 'theTable',
        dataelement: 'tr',
        initval: 0,
        next: 'Next',
        prev: 'Prev',
        first: 'First',
        last: 'Last',
        theme: 'green'
    });
});
</code></pre>

<p>i want the LENGTH parameter to be changed. The code for the select box with onchange event is not the matter of interest. the question is how to make the change, also dom-wise, at the jquery options. </p>

<p>Since i've never manipulated javascript code i have no idea how to select the options with dom or most efficiently.</p>
