2008. 9. 12. 01:48
현재 url을 가져오기 간단하지만 자꾸 잊어서 올려요..ㅎㅎ
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<script>
function url()
{
alert(document.location.href); //요기 ㅋㅋㅋ
}
</script>
</HEAD>
<BODY>
<input type="button" text="button" onclick="url()">
</BODY>
</HTML>