मैं अपनी .js फ़ाइल से .html फ़ाइल खोलना चाहता हूं। तो मैंने $ .mobile.changePage ("file.html") का उपयोग किया। File.html में file.js. है लेकिन फ़ाइल.जेएस कॉल नहीं करता है जब file.html में शामिल किया जाता है।
अग्रिम धन्यवाद।
first.js
$.mobile.changePage ("file.html");
file.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>jQuery Mobile Framework - Dialog Example</title>
<link rel="stylesheet" href="jquery.mobile-1.0a2.min.css" />
<script src="jquery-1.4.4.min.js"></script>
<script src="jquery.mobile-1.0a2.min.js"></script>
<script src="../Scripts/file.js"/> // Could not imported
<script src="../Scripts/helperArrays.js"/> // Could not imported
<script src="../Scripts/globalVariables.js"/> // Could not imported
</head>
<body>
<div data-role="page">
<div data-role="header" data-nobackbtn="true">
<h1>Vaults</h1>
</div>
<!-- <div data-role="content" data-theme="c" id="contentVault">
<a href="Views/searchPage.html" data-role="button" data-theme="b">Sample Vault</a>
<a href="Views/searchPage.html" data-role="button" data-theme="c">My Vault</a>
</div> -->
<div data-role="content" id="content">
<ul id="listview" data-role="listview" data-inset="true" data-theme="e" data-dividertheme="b">
<li id="listdiv" data-role="list-divider">List of Items</li>
</ul>
</div><!-- /content -->
</div>
</body>
</html>
कृपया मेरी मदद करो ..
हाय .. मैं बाहरी जेएस को कैसे कॉल कर सकता हूं? – Finder
आपको अपने जेएस को jquerymobile फैशन में लिखना चाहिए - पृष्ठ में वृद्धि के रूप में। इसे '
संबंधित मुद्दे