jeudi 5 mars 2015

Opening Hyperlinks inside Excel WebAccess webpart in the Same Window



I have the same question as in this link, but this solution is not working for me.



$(document).ready(function() {
$(".ewr-sheetcontainer a").each(function(){
$(this).attr("onclick","openLink(this)");
});
});
function openLink(Atagproperties)
{
Atagproperties.target = "_self";
}


Problem is .ewr-sheetcontainer has role="Presentation" atttribute, which will delete the contents from accessible tree. (But how come it is working for them?)


Is this the reason it is not working for me? or Am I missing anything?


Appreciate your help on this. Thanks, Maddy








0 commentaires:

Enregistrer un commentaire