New topic: webHTMLViewer URL
<http://forums.realsoftware.com/viewtopic.php?t=45862> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message simulanics Post subject: webHTMLViewer URLPosted: Sat Nov 10, 2012 4:18 am Joined: Sun Aug 12, 2007 10:10 am Posts: 823 Location: Boiling Springs, SC I'm still pondering how to achieve this... get the url of the htmlviewer embedded in the page and put the value in a webtextfield...if it was an iframe location would work..yet it returns "undefined"...here is what I have... dim js as string js = "var s =document.getElementById('" + HTMLViewer1.ControlID + "').location;" js=js+"RS.controls['"+ TextField1.ControlID +"'].field().value=s ;" js=js+"markControlChanged( RS.controls['"+ TextField1.ControlID +"'] );" js=js+"RS.comm.triggerEvent('"+TextField1.ControlID+"','TextChanged');" Session.ExecuteJavaScript js any solutions? _________________ Matthew A. Combatti Real Studio 2012 r1.1 Visit Real Studio Developer's Spot! Systems: Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8 Beta Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/ Windows Server 2011/CentOS 5.4 /ReactOS/SimOS ~All REAL Compatible~ Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
