I found following problem in FF 3.0.9 (it looks it is FF problem only). See few lines of code below:
Code:
<html> <head> <title>TEST</title> <script type="text/javascript"> function act() { document.getElementById('p_id').innerHTML = ''; } </script> </head>