[quote=shakiro214]^the function type is good to learn too
I'll try to learn the codes for RegEx and replacement soon. It's useful
RegEx might be more appropriate for this part, in case someone wants to give you a comment with a div inside it or the profile displays a certain number of comments:
[quote]View All Comment/Post a comment link(lower part)
[quote]document.getElementById('content_18').getElementsByTagName("div")[21].innerHTML="PUT ANYTHING HERE";[/quote]
[/quote]
but, of course, that is rare
unless you're an ftalker[/quote]
you can test your regexp here --> [url]http://www.cuneytyilmaz.com/prog/jrx/[/url]
complete reference --> [url]http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:RegExp#Special_characters_in_regular_expressions[/url]