Hey everyone, I have this program that loads another page with ajax and it's working fine and everything is great.
It even runs javascript if I place it inside a script tag however
it will not fire correctly events raised by the new inserted html.

For example I have this page:

<script language="javascript">
function Test()
<input type="button" onClick="Test()" />

If I click on the button javascript throws an error that it doesn't know the Test function, however I do know that the function exists.
I can call it from the place I inserted the html and it will fire.
So why the button will not recognize it?