This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

manipulating frame url by script
#8
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:


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.
Reply


Messages In This Thread
manipulating frame url by script - by schippi - 04.02.2018, 18:50
RE: manipulating frame url by script - by Gadjoken - 13.01.2022, 15:14

Forum Jump: