Im trying to perform two different scripts depending on if its IE11 or not
Consider the following pseudo code
<td>
if IE11
perform IE11_Code
else
perform other_code
end if
</td>
How can I archive this.
Detecting IE11 apparently works like this.
var isAtLeastIE11 = !!(navigator.userAgent.match(/Trident/) && !navigator.userAgent.match(/MSIE/));
But to use this in the conditional baffles me.
EDIT: forget about the fact that I want to use php in there somewhere.