could anybody translate the PHP part of this code into .net?
function showonlyone() {
$(‘div[name|="newboxes"]‘).each(function(index) {
if ($(this).attr(“id”) == <?=htmlentities($_GET['id']);?>) {
$(this).show(200);
}
else {
$(this).hide(600);
}
});
}
Thanks
1 Answer