Works Offline But Not On Online???

Discussion in 'jQuery' started by Dangy, Jan 24, 2013.

  1. #1
    $(document).ready(function() {
    var m = $("meta[name=keywords]");   
    $('.text').html(m.attr("content"));
    var ArrayData = $('.text').html().split(',');
     
    function data(value){
    var regex = new RegExp(value, 'g');
    $('body').html( $('body').html().replace(regex,'<a href="#" class="tooltips" title="Finally Testing this out right now. Look at it scrol. This is a infolink box so that the content of the infolink is scrollable we are making sure of that right now. 100% check it out right now thats for sure keyword: '+value+'">'+value+'</a>') );
    }
     
    $.each(ArrayData, function(index, value) {
    data(value);
    });
    });
    PHP:

     
    Dangy, Jan 24, 2013 IP
  2. Dangy

    Dangy Well-Known Member

    Messages:
    841
    Likes Received:
    25
    Best Answers:
    2
    Trophy Points:
    155
    #2
    This works 100% properly on the Offline Version of this, But Does not on the online version.

    What happens is that on the online copy, it will not loop?

    http://clickadx.com/sample/index.html to see it in action.
     
    Dangy, Jan 24, 2013 IP