how to prevent popup javascript onclick event
<p>i have link</p>

<pre><code>&lt;a onclick="return package_tour_order(14400287396);" href="javascript:;"&gt;advanced&lt;/a&gt;
&lt;a&gt;doit&lt;/a&gt;
</code></pre>

<p>need to get value from onclick only ID nubmer, but this</p>

<pre><code>return package_tour_order(14400287396) is javascript function that popup new window with informationabout that ID 
</code></pre>

<p>if i run this code</p>

<pre><code>$('a:contains("advanced")').attr('onclick').match(/\d+(?=\))/)[0]
</code></pre>

<p><strong>it works fine</strong> but when i run in my project with that javascript function(this function is loaded from another site) its does not work and popup window</p>

<p>i need to disable onclick somehow and get only that ID number, how can i doo that?</p>
