jarvis Posted February 12, 2016 Share Posted February 12, 2016 Hi All, I use <div id="player"></div> on a web page. Then I use: <script> $('#player').load('http://www.domain.com/jplayer.htm'); </script> This file contains an MP3 player and quite happily does its thing by outputting the player on the main site. The thing I can't work out, if you refresh the site or click to another page, it reloads the jplayer.htm file and therefore interrupts the music. Is there a way around this at all? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/300797-stop-content-in-div-refreshing/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.