|
This executes the function right away I want it to wait till i press a key again other wise i would just put the function at the end of the contents() function...
I know i didnt say that in my message but now you know
i edited the html in the message above to represent the change
This might help or might not...
I put the following line in the beginning of the contents() function
alert(document.body.onKeyPress);
i received an alert that said undefined the first time
then every time i press a key on the same page it says vcredits()
Last edited by Raisdead : 10-03-2008 at 09:17 AM.
Reason: adding content
|