title: how i can set this src value using jQuery or javascript
body: <pre><code>var fileref = document.createElement('script');
  fileref.setAttribute("type","text/javascript");
  fileref.setAttribute("src", "http://search.twitter.com/search.json?
                              q="+buildString+"&amp;callback=TweetTick&amp;rpp=50");
  document.getElementsByTagName("head")[0].appendChild(fileref);
  </code></pre>
  
  <p>Here buildString value is</p>
  
  <pre><code>from:@one+OR+from:null+OR+from:@two+OR+from:null+OR+from:@three+OR+
  from:null+OR+from:null+OR+from:@four+OR+from:null+OR+from:@five+OR+
  from:null+OR+from:@six+OR+from:null+OR+from:@seven+OR+from:null+OR+
  from:@eight
  </code></pre>
  
  <p>Here when i used <code>buildString</code> value( i.e what i specified ) to set the value for src it is working properly for me.</p>
  
  <p>But if i set <code>buildString</code> directly it is giving exception for me.</p>
  
  <pre><code>  SyntaxError: illegal character
  
  TweetTick(�
  </code></pre>
  
  <p>If my question is not clear i will explain more detail.</p>
  
  <p>Please help me.Thanks in advance..</p>