Javascript: Find and replace tag

Posted by Peterim on Stack Overflow See other posts from Stack Overflow or by Peterim
Published on 2010-04-10T13:08:46Z Indexed on 2010/04/10 13:13 UTC
Read the original article Hit count: 272

Filed under:
|
|
|

I'm trying to find <body onload="function();"> and replace it with <body> on onClick event.

Any suggestions how this could be done?

Thank you.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about onclick