what is t:onclick ?? should be simply onclick.
Peter -- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Please visit http://www.albourne.com/email.html for important additional terms relating to this e-mail. ----- Original Message ----- From: "Howard Lewis Ship" <hls...@gmail.com> To: "Tapestry users" <users@tapestry.apache.org>, blueb...@gmail.com Sent: Saturday, 26 September, 2009 02:52:15 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Iframe javascript problem Please discuss on the Tapestry user mailing list ... and read the Tapestry JavaScript documentation on the web site. On Mon, Sep 14, 2009 at 10:49 AM, blueboy6 <blueb...@gmail.com> wrote: > > Hi I have a lil bit problem with iFrame > > I need to get it by getElementById > > and to do some basic functions from its content by click on the button > > But I can't get it done. I think I'm hopeless. > > Please Help > > <iframe id="map" src ="some url" width="400" height="400" > > <p>Your browser does not support iframes.</p> > </iframe> > > <script type="text/javascript" language="JavaScript"> > > var m = document.getElementById("map"); > var mapApi = m.contentWindow; > > function goToCoords1() { > mapApi.MoveMapWGS(42.40067, 18.91654); > } > } > </script> > <input type="button" t:onclick="goToCoords1()" value="go to > coords"></input> > -- > View this message in context: > http://www.nabble.com/Iframe-javascript-problem-tp25440336p25440336.html > Sent from the Tapestry - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org > For additional commands, e-mail: dev-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org