jsファイルを参照したい

前提

html本体で電卓を作っています。

&#12398;&#37096;&#20998;&#12434;&#21029;&#12398;js&#12501;&#12449;&#12452;&#12523;&#12391;&#35352;&#20837;&#12375;&#12390;&#12356;&#12414;&#12377;&#12290; &#12375;&#12363;&#12375;&#12289;Web&#19978;&#12391;&#38651;&#21331;&#12398;&#25968;&#23383;&#12434;&#25276;&#12377;&#12392;&#27231;&#33021;&#12375;&#12414;&#12379;&#12435;&#12290; ### &#23455;&#29694;&#12375;&#12383;&#12356;&#12371;&#12392; &#12508;&#12479;&#12531;&#12434;&#27231;&#33021;&#12373;&#12379;&#12383;&#12356;&#12290;<script>&#12398;&#37096;&#20998;&#12434;&#21029;&#12398;js&#12501;&#12449;&#12452;&#12523;&#12391;&#35352;&#20837;&#12375;&#12383;&#12356;&#12290; ### &#35430;&#12375;&#12383;&#12371;&#12392; onclick&#12434;&#28040;&#12375;&#12390;&#12415;&#12383;&#12426;&#12289;button&#12384;&#12369;&#12395;&#12375;&#12390;&#12415;&#12414;&#12375;&#12383;&#12290; ### &#35442;&#24403;&#12398;&#12477;&#12540;&#12473;&#12467;&#12540;&#12489;(&#23569;&#12375;&#30465;&#30053;&#12375;&#12414;&#12375;&#12383;&#65289; meta http-equiv="Content-Type" content="text/html; charset=UTF-8" <button type="button" value="7"onclick="Nclick(this)" >7 <button type="button"value="8"button onclick="Nclick(this)" >8 <button type="button"value="9"button onclick="Nclick(this)" >9 <button type="button"value="("button onclick="Nclick(this)" >( <button type="button"value=")"button onclick="Nclick(this)" >) <br />&#12539;&#12539;&#12539;&#12539; <button type="button" id="button" style="width:160px;">= <button type="button" onclick="formReset()" >c <script src="14.js">

コメントを投稿

0 コメント