PDA

View Full Version : Script won't work with other script on same page



oldmanInAz
05-14-2014, 04:39 PM
Dynamic Ajax Content

http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

http://mroldies.net/radio/flip1.php

On this page I am trying to incorporate your script into the page but for what ever reason, does not work.
Without the other script, it works fine.
I am assuming then there is most like a conflict with the variables.
Or perhaps something in the link.
For the link, it uses your regular href stuff then the other script uses data-src.
I would greatly appreciate someone taking a look and seeing if it can be fixed.

Thanks

vwphillips
05-15-2014, 01:41 AM
try


<li><a href="#" onclick="ajaxpage('ajax.php?r=66-179.mp3', 'bcol');" data-src='http://mroldies.net/audio/1966/66-179.mp3'>How Sweet It Is (To Be Loved By You) - 1966<br>Jr. Walker and the All Stars</a></li>

oldmanInAz
05-15-2014, 02:49 AM
Thanks that worked just fine.