i want to run a bit of js not in ie but in all others within some js i'm doing.
is this the way to do it? (got this from o'reilly's js;definitive guide book):
how should braces be in that, if they should at all? i mean if i wanted multiple lines of js code in the either non-ie or ie blocks how and where would {}'s go?Code:/*@cc_on @if( @_jscript ) ; // nothing for internet explorer @else*/ alert("you're not using internet explorer"); /*@end @*/
also does that work for ie8?
thanks.






Bookmarks