Here is my spaggeti code
$("#table_exams tbody tr").click(function ()
{
window.location.hash="#" +$(this).attr("exam_ID");
window.location.href="/medilab/prototypes/exams/edit?examId=" + $(this).attr("exam_ID") +"&referer=" + referer;
row_select(this);
});
$("#table_exams tbody tr td a").click(function ()
{
window.location.hash="#" +$(this).parent().parent().attr("exam_ID");
var where="/medilab/prototypes/exams/edit?examId=" + $(this).parent().parent().attr("exam_ID") +"&referer=" + referer;
window.open(where);
row_select($(this).parent().parent());
alert("propaganda");
event.stopPropagation();
event.preventDefault();
return false;
});
The problem is that when this function is triggered
$("#table_exams tbody tr td a").click(function ()
{
the other function is triggered also.... only in IE... What can i do for this????