The second call returned 1 and this is the result from call 1, but the frame didn't update:
Well now it worked again after a while, but I didn't change anything.
I just wanted to check if the script is correct, maybe it's a browser problem. If I discover why it didn't work I'll post it. Thank you anway.
Code:
$('.graph').find('iframe').attr('src', 'http://192.168.0.101/Tag1')
{…}
0: <iframe border="0" src="http://192.168.0.101/Tag1" width="1045" height="431" frameborder="0">
context: HTMLDocument http://192.168.0.130/scada-vis/#6
length: 1
prevObject: {…}
0: <div class="item graph item-iframe" style="top: 336px; left: 0px; z-index: 10; width: 1045px; height: 431px;">
context: HTMLDocument http://192.168.0.130/scada-vis/#6
length: 1
prevObject: Object { 0: HTMLDocument http://192.168.0.130/scada-vis/#6, context: HTMLDocument http://192.168.0.130/scada-vis/#6, length: 1 }
selector: ".graph"
__proto__: Object { jquery: "2.2.4", constructor: G(), length: 0, … }
selector: ".graph iframe"
__proto__: Object { jquery: "2.2.4", constructor: G(), length: 0, … }
Well now it worked again after a while, but I didn't change anything.
I just wanted to check if the script is correct, maybe it's a browser problem. If I discover why it didn't work I'll post it. Thank you anway.