AnsweredAssumed Answered

Clear the 'Text to display' field of Hyperlink control using JavaScript

Question asked by riteshratna@gmail.com on May 17, 2017
Latest reply on May 19, 2017 by emha

I have a Hyperlink control on the form. I want to clear both the 'Web Address' and the 'Text to display' field using JavaScript.

 

The control settings are as below -

I amable to clear the 'Web Address' field using -

NWF$('#' + fldSiteAddress).val('').trigger('change'); 

 

However, no matter what I try, I am just not able to clear the 'Text to display' field.

 

Any help will be appreciated.

Thanks.

Outcomes