javascript - JQuery won't load from a div -


what i'm trying make stock .html file nav, footer, i'd use on multiple pages , want change easily. small 20ish page site i'm working on , don't want rely on php or something.

i've looked @ other responses on here , followed them precisely don't seem me @ all, although it's i'm overlooking.

<!doctype html> <html> <head> <link href='files/stylesheet.css' rel='stylesheet' type='text/css'> <meta charset="utf-8"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">    </script> </head> <body>  <!--navigation--> <div id='navigation'></div> <script>$("#navigation").load("templete.html #nav");</script>  </body> </html> 

thanks in advance! -shy♥

is cust typo templete.html (third line below). otherwis, take @ jquery docs , restrictions of functions (http://api.jquery.com/load/).


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -