Help me With javascript - Auto button!

Help me With javascript - Auto button!!!
I have a file 1.htm, this file writed as


function m() {" ",“linhpr1”);
<input type=“button” onclick=m(); value=“button”>

I want to when run file 1.htm by FireFox.
I don’t need click the “button” then the page : can open with tab name linhpr1.Like when I click to the “button”
Help me !
Thanks everyone very much!

Are you taking the same course as the chap in this thread?

i tried with body onload , but this function don’t run
<body onload=“m()”>


Could you please post your full code as the snippets you posted don’t paint a clear picture.