Created
December 22, 2016 04:15
-
-
Save gracefullight/80619ee3c636af97e66babaee9f4b4fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
function test(){ | |
if(true){ | |
return false; | |
} | |
} | |
</script> | |
<!-- 페이지에 return false;가 출력됨 --> | |
<a href='javascript:test();'>테스트</a> | |
<!-- 대체 --> | |
<a href='javascript://' onClick='test();'>테스트</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment