Quantcast
Channel: PTC Community: Message List - Arbortext
Viewing all articles
Browse latest Browse all 3717

Re: Creating PDF Named Destinations using attribute value - Styler/APP

$
0
0

To test if there is no ID attribute, could be something like:

 

if (!formatting.getAttribute("id"))

{//do this};

 

To test it's value just pass it to a var and then the usual javascript methods apply for example:

 

var myAttr = formatting.getAttribute("id");

if (myAttr == 'yes') {//do this}

else if (myAttr => 10) {//do that}


Viewing all articles
Browse latest Browse all 3717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>