13.01.2022, 15:14
Hello,
Did you manage to update your url from this script?
Indeed I am trying to display a URL contained in a string type object and I cannot update the FRAME from this JS.
here is my script:
I did add in Additional classes testurl but the FRAME remains on the URL that I entered manually in the object (34/1/1).
Thanks for your feedback.
B.R.
Did you manage to update your url from this script?
Indeed I am trying to display a URL contained in a string type object and I cannot update the FRAME from this JS.
here is my script:
Code:
$(function(){
if (typeof grp != 'undefined') {
var URL= grp.getvalue('34/1/1');
$('.testurl').find('iframe').attr('src', URL);
}
});
I did add in Additional classes testurl but the FRAME remains on the URL that I entered manually in the object (34/1/1).
Thanks for your feedback.
B.R.