jquery remove javascript code
<p>I am able to remove html element using jquery using <code>$(element).remove();</code>. But there is a javascript code, like <code>setinterval()</code>, which should be removed. Yes, I can do <code>clearInterval()</code> for particular that case, but what if other types of javascript code?</p>

<pre><code>     &lt;script&gt;
     var baseurl = '...';
     jQuery(function(){
        new AjaxUpload('#upload_button', {
           action: baseurl,
           onSubmit : function(file , ext){
              jQuery('#...').val(file);
           },
           onComplete: function(file, response){
              // do something....;
           }
        });
     });
     &lt;/script&gt;
</code></pre>

<p>But I am unable to do so.</p>

<p>Can anybody help me out this problem?</p>
