Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe
Tagged

javascript:void(0)

A collection of 1 post

direct URL JavaScript statements

javascript:void(0) 이게 뭔가?

참조 : http://www.tizag.com/javascriptT/javascriptvoid.php – 새 페이지를 로딩하는게 아니라 어떤 액션을 실행하고 싶을 때 앵커의 href 속성에 사용.– href 속성의 값에 javascript: 프리픽스를 사용해서 자바스크립트 문장을 사용할 수 있다. == direct URL JavaScript statements– 예제 <a href=”javascript: alert(‘News Flash!’

  • 백기선
백기선 Sep 17, 2008 • 1 min read
Whiteship © 2022
Powered by Ghost