1, getelementbyid ("layer5") has a double quotation mark in parentheses.
2.js has no end tag.
Give you a simpler one:
& ltscript type = " text/JavaScript " src = "/mei 02 _ ku/mei 02 _ ku . js " & gt; & lt/script & gt;
& ltscript type = " text/JavaScript " & gt;
& lt! -
$ (document). ready(function(){
$(":input[type='submit']")。 Click (function(){$("#Layer3 "). CSS({ " display ":" none " }); $("#Layer5 ")。 CSS({ " display ":" " }); })
$(":input[type='button']")。 Click (function(){$("#Layer5 "). CSS({ " display ":" none " }); $("#Layer3 ")。 CSS({ " display ":" " }); })
})
//-& gt;
& lt/script & gt;
& lt/head & gt;
& ltbody & gt
& ltdiv id="Layer3 " >
& ltform id = " form 1 " name = " form 1 " method = " post " action = " " & gt;
& lttable width = " 745 " border = " 1 " >
& lttr & gt
& lttdwidth = "179" ><P> username
& ltbr/>;
& lt/p & gt; & lt/TD & gt;
& lttd width="550 ">& lt label & gt
& ltinput type = " text " name = " textfield "/& gt;
& lt/label & gt; & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd & gt Gender
& lttd & gt& lt label & gt
& ltinput type = " radio " name = " radio button " value = " radio button "/& gt;
man
& ltinput type = " radio " name = " radio button " value = " radio button "/& gt;
woman
& lt/label & gt; & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd & gt birthday
& lttd & gt& lt label & gt
& ltselect name = " select " & gt
& lt/select & gt;
year
& ltselect name="select2 " >
& lt/select & gt;
moon
& ltselect name="select3 " >
& lt/select & gt;
sun
& lt/label & gt; & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd & gt Avatar file
& lttd & gt& lt label & gt
& ltinput type = " image " name = " image field " src = " image/bankuai/a . jpg "/& gt;
& lt/label & gt; & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd & gt Registration Date
& lttd & gtxxxx & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd & gt Last login time
& lttd & gtxxxx & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd & gt login times
& lttd & gtxxx & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd & gt user points
& lttd & gtxxx & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd & gt personalized signature
& lttd & gt& ltinput type = " text " name = " textfield 2 "/& gt; & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd & gt& lt/TD & gt;
& lttd & gt& lt Enter name = "modify" type = "submit" value = "modify"/>
& ltinput name = " modify " type = " reset " value = " reset "/& gt。 & lt/TD & gt;
& lt/tr & gt;
& lt/table & gt;
& lt/form & gt;
& lt/div & gt;
& ltdiv id="Layer5 " >
& lttable width = " 745 " border = " 1 " >
& lttr & gt
& lttdwidth = "179" height = "26" ><P> username.
& ltbr/>;
& lt/p & gt; & lt/TD & gt;
& lttd width="550 ">& lt label & gta & lt/label & gt;; & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd height="25 "> gender
& lttd & gt& lt label & gtb</label > & lt/TD & gt;
& lt/tr & gt;
& lttr & gt
& lttd & gt birthday
& lttd & gt& lt label & gt
& ltselect name="select4 " >
& lt/select & gt;
year
& ltselect name="select4 " >
& lt/select & gt;
moon
& ltselect name="select4 " >
& lt/select & gt;
sun