버튼을 클릭하자마자 "hello"에 경고하려고합니다. 위의 오류가 내 브라우저에서 발생하고 아래 HTML에서 볼 수 있듯이 오류의 원인을 알 수 없도록 버튼 링크 아래에 스크립트 링크를 추가합니다. 어떤 도움을 주셔서 감사합니다.TypeError : null의 속성 "removeAttribute"를 읽을 수 없습니다.
receiver.js
$(function(){
$("#passform").click(function(){
\t \t alert("hello");
\t \t console.log("hello");
\t });
});
index.html을
<!DOCTYPE html>
\t <html>
\t <head>
\t <link href="public/stylesheets/style.css" rel="stylesheets" />
\t </head>
\t <body>
\t \t <button type="submit" id="passform"></button>
\t <script type="scripi/javascript" src="C:/users/owner/desktop/steelVault/public/javascripts/receiver.js"></script>
\t <script type="scripi/javascript" src="C:/users/owner/desktop/steelVault/public/javascripts/jquery/jquery-2.2.4.min.js"></script>
\t </body>
\t </html>
이것은 AdBlock 확장과 관련이있을 수 있습니다. http://stackoverflow.com/questions/38143879/cannot-read-property-removeattribute-of-null-cant-find-source-of-it –