Change link

I created a LabelControl with URL link embedded. When this label gets clicked a web browser opens a google.com site.

Code: Select all
urlLink="<a href=“http://www.google.com”> Google "
global label
label=scriptDialog.AddControl( “label01”, “LabelControl”, urlLink, 100, -1, “” )

Somewhere down the road I want to modify the value stored in Label’s urlLink. I want to change stored google.com link to
Website Optimierung mit einer SEO Agentur

What would be a correct syntax to set a new label attribute?

Hello,

I am told by one of our developers that the correct syntax would be scriptDialog.setValue( “label01”, newValue ) instead of what you are using. Let me know how that works for you.