Request-URI Too Large -- Javascript
<p>I am trying to add query string with my Url. At times, when the query string is too lengthy i am getting the error as "Request-URI Too Large". here is my javascript function i am using.</p>

<pre><code>javascript:(function(){
if(document.getElementsByTagName("a")!=null&amp;&amp;document.getElementsByTagName("a").length&gt;0){
    var titleArray=newArray();
    var urlArray=newArray();
    var j=0;
    for(i=1;i&lt;document.getElementsByTagName("a").length;i++){
        if(document.getElementsByTagName("a")[i].title!=null&amp;&amp;document.getElementsByTagName("a")[i].title!=""){
            j++;
            urlArray[j]=document.getElementsByTagName("a")[i].href;
            titleArray[j]=document.getElementsByTagName("a")[i].title;
            }
            }
            }
    myWindow=window.open('http://inside-files.mathworks.com/public/Sathish_Balu/faces/faces.html?faces&amp;titles='+titleArray+',&amp;url='+urlArray);
    myWindow.focus();})()
</code></pre>

<p>Can some1 please help in this ? Thanks a lot.</p>
