Home >Backend Development >PHP Tutorial >页面中一个功能执行一个js后 怎么不影响原来其他的js

页面中一个功能执行一个js后 怎么不影响原来其他的js

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:55:27956browse

页面中一个功能执行一个js后 如何不影响原来其他的js<br>有个start页面 每个功能连接了一个php 数据是一个save键用js实现保存数据的<br>我在其中一个页面上添加了一段js 该php加载完之后, 其他功能的save键就不执行了<br>然后我修改了加载顺序 加了js那个页面是第一个,把它放在 第二第三个后没有问题, 但如果在第四个后.页面排版就会出错<br>就是第一个与第四个程序处理顺序的问题 <br>一先四后  四不能保存<br>四先一后 排版出错,此处我检查了hide函数,应该是没有问题的<br><br>请各位大牛指教  应该如何修改程序, 需要在第一个的js里添加什么让他返回form之后还能执行其他js   谢谢啦<br><br>start<br>

<br /><div id="ECT-tabs" class="dialog displayArea"><br />						<br />						<button id="saveIDCard" ><br />							Save<br />						</button><br />			<ul id="tab"><br />				<li><br />					<a href="#fragment-1"><span>General Information</span></a><br />				</li><br />				<li><br />					<a href="#fragment-2"><span>Planning Information</span></a><br />				</li><br />				<li><br />					<a href="#fragment-3"><span>Product&Technology Information - Proto Phase</span></a><br />				</li><br />				<li><br />					<a href="#fragment-4"><span>Support Functions</span></a><br />				</li><br />			</ul><br />			<form class="dialog" id="IDCardForm" name="IDCardForm" action="editIDCard.php"><br />				<input type="hidden" id="programnameinput" name="programnameinput"/><br />				<input type="hidden" id="versionstate" name="versionstate"/><br /><br />				<br />				<div id="fragment-2" class="ECTTAB"><br />					<?php<br />					include ('classfiles/Planninginfo.php');					<br />					?><br />				</div><br />				<br />				<div id="fragment-3" class="ECTTAB"><br />					<?php<br />					include ('classfiles/PTI_proto_phase.php');										<br />					?><br />				</div><br />				<br />               <div id="fragment-1" class="ECTTAB"><br />					<?php<br />					include ('classfiles/Generalinfo.php');<br />					?><br />				</div><br />				<div id="fragment-4" class="ECTTAB"><br />					<?php<br />					include ('classfiles/SupportFunction.php');				<br />					?><br />					<br />				</div><br />				<br />				<!-- versioncomment field --><br />				<input type="hidden" name="versioncomment" id="versioncomment" value="XYZ" /><br />			</form><br />		</div><br />
<br>generalinfo<br>

<br>
<br>

<br> <br> <br>

<br>

<br> <br> <br>

<br>
<br>
<br>
<br>
<br> <br> AAP Assumptions<br> <br>
<br> <br>
<br>

<br> <br> <br> <br>

<br>         <br> <br>     

<br>
<br>
<br>
<br>
<br>

<br> <br> <br> <br>

<br> <br>

<br> <br> <br> <br> <br>

<br>

<br> <br> <br> <br>

<br>

<br> <br> <br>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn