Get JS var From Markup | Adobe Higher Education
Skip to main content
LeoS_Taco
Level 2
March 27, 2018
Beantwortet

Get JS var From Markup

  • March 27, 2018
  • 1 Antwort
  • 1613 Ansichten

Hi, Let's say I'm trying to pass a var that's in the markup like so:

, into a data element? Thanks, Leo S.

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von jantzen_b

Hi Leo,

I'm not seeing how the var is in the markup. Can you try attaching a screenshot by using the picture widget inside the editor? You should be able to pull just about anything from the page into a data element given the correct JavaScript.

Thanks,
Jantzen

1 Antwort

jantzen_b
Adobe Employee
jantzen_bAdobe EmployeeAntwort
Adobe Employee
April 2, 2018

Hi Leo,

I'm not seeing how the var is in the markup. Can you try attaching a screenshot by using the picture widget inside the editor? You should be able to pull just about anything from the page into a data element given the correct JavaScript.

Thanks,
Jantzen