Evaluate a JQUERY statement
<p>I use this kind of script to evaluate my javascript code that is injected in the DOM</p>

<pre><code>function wilEval(source) {

  if ('function' == typeof source) {
    source = '(' + source + ')();'
  }
  var script = document.createElement('script');
  script.setAttribute("type", "text/javascript");
  script.textContent = source;
  document.body.appendChild(script);

  if (window.execScript) {
         window.execScript(source);
  }

}
</code></pre>

<p>it works in IE and other major browsers but my problem is the code to be evaluated is a jquery code like this <code>$("#&lt;?php echo "utm".$thr_id; ?&gt;").effect("highlight", {}, 1000);</code> So how can evaluate it like a normal javascript code? thanks</p>

<p>P.S. the php echo just produce a dynamic element id =)</p>
