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
#10
Hello,

I had also tested this script but nothing helped the url always remains the one I entered manually and is not updated based on the subject.

Code:
$(function(){
  if (typeof grp != 'undefined') {
    grp.listen('34/1/1', function(object, state) {
      var URL= grp.listen('34/1/1');
      $('.testurl').find('iframe').attr('src', URL)
    }, true);
  }
});

<div class="item testurl item-iframe" style="top: -1px; left: -1px; z-index: 10; width: 1025px; height: 769px;"><iframe border="0" frameborder="0" width="1025" height="769" src="https://xxxxxx"></iframe></div>
This is what I get when I inspect the iframe

I have also tried on several browsers.
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, 16:34

Forum Jump: