Response title
This is preview!




id="pageContent".#pageContent ($(#pageContent).load('HomePage.php');).#pageContent:- One of the site's pages (
$('#navContent a').on('click', function() {var page = $(this).attr('href'); // Get link name$('#pageContent').load(page + '.php'); // Load clicked pagereturn false;});
var page) has a range slider on it. My problem is the slider doesn't show when that page loads [into #pageContent] but it works fine when I copy and paste the HTML into index.php (manually).When I run the page [with the slider] separately the slider shows but when I run it with the rest of my site [into #pageContent] it doesn't. Does anyone know what i'm doing wrong or why my slider isn't visible on .load()?
I want to reduce the code but I don't know to .load() an external page using CodePen
© 2013 jQuery Foundation
Sponsored by and others.
