javascript - Beaglebone Local jQuery Files not Loading -


i'm working on wireless robotics project utilizing node.js , jquery create webpage "controller".

currently, code below, functionality limited working internet connection due downloading of scripts through internet addresses. goal allow function without internet connectivity

<html> <head>     <meta charset="utf-8">     <meta name="viewport" content="initial-scale=1.0, user-scalable=no">     <meta name="apple-mobile-web-app-capable" content="yes">     <meta name="apple-mobile-web-app-status-bar-style" content="black">       <!-- jquery , jquery mobile -->     <link rel="stylesheet"       href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />     <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>     <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>     <script src="/socket.io/socket.io.js"></script> 

in order try save these files beaglebone locally, created 3 files: source1.css source2.js , source3.js copied , pasted respective files html links in code above , stored in same directory html , javascript files used server.

i have edited code appear below

<html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black">   <!-- jquery , jquery mobile --> <link rel="stylesheet" href="source1.css" /> <script src="source2.js"></script> <script src="source3.js"></script> <script src="/socket.io/socket.io.js"></script> 

however when attempt start server using node command, html appears load in webpage. have attempted changing charset , including entire path jquery source files no success. appreciated!

disconnect internet. press ctrl+shift+i in chrome browser load developer tools, change "network" tab press f5 refresh page. see resources page loaded (and attempted load). sort these results initiator column. find socket.io initiated dependencies failed load.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -