I'm trying to replace a particular variable with a string (specifically, a line break). I'm trying this:
Expand|Select|Wrap|Line Numbers
- if (flashsrc.indexOf('americancultist.com') == -1) {
- document.getElementById('flashinput').replace(embedTag, '\n');
- }
http://www.americancultist.com/videosource2.html
What I'm attempting to do here is strip out embed tags that don't come from a certain domain upon form submission. But I don't need a solution to the larger problem for now -- just wondering why this particular step isn't working.