On Wednesday, November 13, 2013 4:38:21 PM UTC-8, skye riquelme wrote:
>
> Hi Eric....thanks...I am sure we are really close...but I cant get it to 
> work..... seems the onclick is not firing.... the code I am testing is -
>
> <html><iframe src="AAA/testMysql.php" id="testMYSQL" 
> style="width:100%;height:200px;"></iframe>
> <a href="javascript:void(0)" onclick="
> var frame=this.previousSibling;
> var txt=frame.contentDocument.body.innerHTML;
> localStorage.mysql=txt;
> ">check this out!</a></html>
> <<wikify {{localStorage.mysql}}>> 
>

> ..for now I am just putting the txt into a localStorage so I can quickly 
> see if it worked...
> the php code is returning the text...but clicking the link does do 
> anything....
>

make sure that the <a ....> is *immediately* following the closing 
</iframe>... with *no whitespace*.... and, if you are using 
HTMLFormattingPlugin, use <nowiki> in the <html> block so newlines in the 
onclick handler code will be ignored.

-e

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to