Get Oxygen

Forums

Home Forums Code jquery works in editor but not on live site

This topic contains 0 replies, has 1 voice, and was last updated by  Alain 2 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #85197

    Alain
    Participant

    Hi

    I do something like this with a table:

    
    jQuery(document).ready(function() {
      	jQuery('tbody tr').off('mouseenter');
    	jQuery('tbody tr').mouseenter(function() {
      	var cls = jQuery(this).find('.SVG-ID').text(); //get the content of the hidden div with the svg-element-id stored
        alert("Dieses Element ist ausgewählt: "+cls);
      });
    });
    

    I wanna get the text of the SVG-ID.
    See here:
    http://pasteall.org/pic/43736eb4395428334a8a90b4831005fc

    It works within the Oxygen editor but not on the livesite.

    Here is the live site: http://archiviz.ch/siag/landingpage/

    What do I do wrong?

Viewing 1 post (of 1 total)

The forum ‘Code’ is closed to new topics and replies.

Soflyy is proud to offer you Oxygen, our vision for what visual website design can be. We love it, and we think you will too.
More About Us

Stay up to date with Oxygen

© Soflyy 2019
Designed with Oxygen.
LegalTrademark Policy
facebook-square linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram