form action을 동적으로 하려고
action을 받아써먹으려는데
도통안되네 왜그럴까 이것떄문에 암것도 안풀린다..
< language=''>
function test(frm){
//document.write(document.getElementById('hid'));
document.write(frm.action);
document.write("하이");
}
</>
</head>
<body>
<form action = 'test.php' name = 'hi' id = '33t'>
<a href = '#' = "test(this.form)" > 하이</a>
</form>
</body>
</html>
test 함수까진 들어오냐?
ㅇㅇ 저부분만 떼어놓은건데 test로 인자까지 받아낸다. 근데 action으로 접근만하면 에러생김..시발..