Hi all,

On my TW5 I had a page inside an iframe in Tiddler1 (it's a dice roller). 
The iframe has an id of "myIframe".

The url inside the iframe can take parameter inputs like http://somewhere.c
om/myIframeRequest.html?param1=value0&param2=value1

I wanted one or more buttons in Tiddler2 to change the iframe url such as 
the following:

function myFunction(){
$('#myIframe').attr('src', "myIframeRequest.html?param1=value2&param2=value3"); 
} 


Any idea how I'd achieve that?

The use case is that inside the frame is a dice roller, and Tiddler2 is an 
info sheet that is interested in different dice rolls with a single click 
of a button.

Thanks!



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7d1765de-2b13-4096-a657-586930724307%40googlegroups.com.

Reply via email to