Actual Question:
Does anyone have any basic example logic of how to pull the value of a DOM element in to a custom script data element?
Background:
I'm trying to build some custom data elements in Adobe Dynamic Tag Management (DTM). I want to capture specific sections of my breadcrumb in to elements - e.g. Given breadcrumb trail Home >> Category 1 >> Category 4 >> Page 1, I would want X = Category 1, Y = Category 4, Z = Page 1
Unfortunately, the anchors in the breadcrumbs do not use consistent identifiers, so I need conditional logic in order to select them. Example: When I'm on the Category 1 landing page, the category's element has ID "Current" but otherwise it has the id "L1Link" - therefore I would want the following logic:
if(#L1Link exists)
X = #L1Link
else
X = #Current
Unfortunately, I'm not sure how to select a DOM element in my Custom Function. I don't think _satellite.$data is what I want (I don't want data, I just want the text of the hyperlink). I tried using cssQuery, but I don't really have a callback to pass anything back to (and contrary to the documentation, it seems to get very upset if I don't have a callback).
I am going to display plugin for firefox and google chrome. i know that all this plugins are developed using javascript and CSS but i donnot know how to display sidebar panel for example facebook chat ...
I am going to display plugin for firefox and google chrome. i know that all this plugins are developed using javascript and CSS but i donnot know how to display sidebar panel for example facebook chat ...
I want to structure my Node.js app with modules. For example I use bunyan as a logger. I have a file main.js //configs var logfile = __dirname + '/log.txt'; //my own modules var log = require("./...
I want to structure my Node.js app with modules. For example I use bunyan as a logger. I have a file main.js //configs var logfile = __dirname + '/log.txt'; //my own modules var log = require("./...
I'm creating a CMS system using CKEditor and Dust javascript template, user will enter Dust template in ckeditor, and save to database, template will be something like {#News} <li><a herf=...
I'm creating a CMS system using CKEditor and Dust javascript template, user will enter Dust template in ckeditor, and save to database, template will be something like {#News} <li><a herf=...
i have a html file converted by swiffy that looks like this: <!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=...
i have a html file converted by swiffy that looks like this: <!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=...