get elementId from event in jquery
<pre><code>function barvaInfo(event) {

$(document).ready(function(){
var nid = window.event.srcElement.id;
}
</code></pre>

<p>this works in IE but not in FF. Can i use jquery for this? i try with JQuery event api but then i do not know how to get ID from it.</p>
