This question is locked. New answers and comments are not allowed.
-----------------Index1.html-----------------
<div data-role="view" id="tabstrip-ETM5200SC-L" data-title="ETM5200SC-L" data-layout="tabstrip-appearance">
<ul data-role="listview" data-style="inset">
<br/>
<li>
<a href="index2.html">Go to Live View</a>
</li>
</ul>
</div>
The below code call the caputre function when the button is clicked. Code works fine and call the function when testing in new project 1 but when i try to link from index1.html to index2.html the button in index2.html onclick event handler doesnt call the function in new project 2 (combile of index1.html and index2.html). Any help will be greatly appreciated.
----------------index2.html------------
<!DOCTYPE html>
<html>
<head>
<title>Select Option</title>
<meta charset="utf-8">
<script type="text/javascript" charset="utf-8" src="cordova.js"></script>
<script type="text/javascript" charset="utf-8" src="scripts/main.js"></script>
<script type="text/javascript" charset="utf-8" src="scripts/main2.js"></script>
<script src="scripts/kinetic-v4.7.0.min.js"></script>
<script type="text/javascript" charset="utf-8" src="scripts/overlay.js"></script>
</head>
<body>
<div class="content">
<div id="container" >
<img style="display:none;" id="smallImage" src="" />
</div>
<div class="action-area ch50">
<button class="button dh" id="capturePhotoButton" onclick="capturePhoto();">ViewAppliance</button>
</div>
<div class="separator"></div>
</div>
<footer class="footer">
<div></div>
</footer>
</body>
</html>
<div data-role="view" id="tabstrip-ETM5200SC-L" data-title="ETM5200SC-L" data-layout="tabstrip-appearance">
<ul data-role="listview" data-style="inset">
<br/>
<li>
<a href="index2.html">Go to Live View</a>
</li>
</ul>
</div>
The below code call the caputre function when the button is clicked. Code works fine and call the function when testing in new project 1 but when i try to link from index1.html to index2.html the button in index2.html onclick event handler doesnt call the function in new project 2 (combile of index1.html and index2.html). Any help will be greatly appreciated.
----------------index2.html------------
<!DOCTYPE html>
<html>
<head>
<title>Select Option</title>
<meta charset="utf-8">
<script type="text/javascript" charset="utf-8" src="cordova.js"></script>
<script type="text/javascript" charset="utf-8" src="scripts/main.js"></script>
<script type="text/javascript" charset="utf-8" src="scripts/main2.js"></script>
<script src="scripts/kinetic-v4.7.0.min.js"></script>
<script type="text/javascript" charset="utf-8" src="scripts/overlay.js"></script>
</head>
<body>
<div class="content">
<div id="container" >
<img style="display:none;" id="smallImage" src="" />
</div>
<div class="action-area ch50">
<button class="button dh" id="capturePhotoButton" onclick="capturePhoto();">ViewAppliance</button>
</div>
<div class="separator"></div>
</div>
<footer class="footer">
<div></div>
</footer>
</body>
</html>