我在表单中添加了一个表单关闭按钮但没有工作。我需要java脚本
吗?
<button type="button" class="close" data-dismiss="form" aria-label="Close"><span aria-hidden="true">×</span></button>
<div class="overlay" id="overlay" style="display:none;"></div>
<div id="myDiv">
<button type="button" class="close" data-dismiss="form" aria-label="Close"><span aria-hidden="true">×</span></button>
<legend><img src="/static/images/premium/chat.png">......</legend>
<form action="https://chat.rbb.bg/ccp/chat/form/100000" method="post" target="_blank" onsubmit="return window.confirm("You are submitting information to an external page.\nAre you sure?");">
<span class="box3">.......</span><input type="text" name="extensionField_PhoneNumber" id="box3"><br>
<span class="boxinfo">......</span>
<select name="extensionField_ccxqueuetag" id="boxinfo"><br>
<option value="Chat_Csq23"></option>
</select><br>
<input type="submit" value="........" id="boxbuton"><input type="hidden" name="author" value="Customer"><br>
<input type="hidden" name="title" value="ccx chat"><br>
<input type="hidden" name="extensionField_h_widgetName123456" value="........."><br>
<input type="hidden" name="extensionField_chatError" value="Sorry, the chat service is currently not available. Please try again later.">
</form>
</div>
<input id="info" type="button" onClick = "this.style.visibility= 'hidden';" value="Имате Въпрос?" class="switchbuton">
完成这项工作。