Detect fieldset on mouse click JQUERY
<p>i'm trying to add a single condition to the following Javascript that will stop the IF statement below eveluating to TRUE when user clicks inside a fieldset on the page.</p>

<p>I have tried allsorts but i'm guessing, I just tried adding "
&amp;&amp; !(e.target.isFieldSet))" but no joy. I've tried searching the web, anyone any ideas?</p>

<pre><code>$(function() {
    $('tr').live('click', function(e) {

        //if not clicking an anchor tag or imag then assume user wants to go to details page
        if ((!$(e.target).is('a')) &amp;&amp; (!$(e.target).is('img')) &amp;&amp; (!$(e.target).is('th')) &amp;&amp; !(e.target.isTextEdit)) {
            window.location = $("#AbsolutePath").val() + 'Waste.mvc/Details/' + $(this).attr('rowid');
        }

    });
});
</code></pre>
