View Single Post
Old 07-31-2015, 05:11 PM  
2MuchMark
Too lazy to set a custom title
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 50,370
Can someone help me with a Javascript problem?

So it's Friday night and my programmers are off partying and getting laid, and I'm staying in and trying to better my smarts with a little website work, and I'm stuck.

I have a line in my page that looks just like this, complete the comment tags.

<!-- one two three four -->

The above appears in the body of the page.

What I want to do is detect if the user on the web page is using Internet Explorer, and if so, to change the code above so that it looks like this:

<!-- two three four -->

with the "one" removed.

Any help is appreciated!
2MuchMark is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote