how do I return values from an array to populate href values
<p>var standard = $(function(){</p>

<pre><code>                        //should return reversed iterated standard anchor array
                            $.each(standard_anchor,function(value){ return (value) })  

                            });
</code></pre>

<p>/////</p>

<p>$(function(){</p>

<pre><code>    /*  should  replace all a href values with reversed iterated standard anchor data   */
         $('a [href]').reverse().each().attr('href', function(){ return ( standard) });


});
</code></pre>

<p>/////</p>

<p>so that's what I tried but it didn't work, and I don't know why it didn't work, any suggestions?</p>

<p>standard_anchor is the array name, and var standard is a function I thought could return those array values when used in a function.</p>
