Action Button on DV
Posted: 2022-04-28 16:45
Hello everyone, I am creating a button on the DV, I want to link to another page.
this is what I have so far
The issue I have is that this line here does not pick up the value (doesnt pick up any value actually.
Has anyone done this or knows how to do it that can help me?
thanks
Angus
this is what I have so far
Code: Select all
var actionbuttons = dv.actionbuttons;
var grp = actionbuttons .addGroup("Links", "globe")
var id = $j('#FD_ID').val();
console.log(id);
var href = "frontdoor_view.php?SelectedID=" + id;
grp.addLink("First Hub", href, Variation.primary, "align-left");
Code: Select all
var id = $j('#FD_ID').val();
Has anyone done this or knows how to do it that can help me?
thanks
Angus