hschir Posted April 15, 2012 Share Posted April 15, 2012 Is there someway I can put a link to a URL on a DC page (a sort of back button to the html page with the embedded link in it that calls the page for display on my server) ? Link to comment Share on other sites More sharing options...
AzeoTech Posted April 16, 2012 Share Posted April 16, 2012 Sure, in the click event put: document.location = "http://www.myDomain.com" Link to comment Share on other sites More sharing options...
hschir Posted April 16, 2012 Author Share Posted April 16, 2012 Even though the other method outlined by me in another post worked - I'll give this a go as well (less code). The question remains - how would I know that document.location ="" is a valid command? Link to comment Share on other sites More sharing options...
AzeoTech Posted April 17, 2012 Share Posted April 17, 2012 Everything in DAQConnect is javascript, and document.location = "" is a standard javascript command. You can google it. The trick is usually understanding where this javascript gets executed. It runs in a sandbox that makes it easier for you to access certain things, but harder for you to access others (that you probably should touch). That's why document.write() that you queried about won't work, among other reasons... Link to comment Share on other sites More sharing options...
hschir Posted April 17, 2012 Author Share Posted April 17, 2012 Thanks - I Googled it earlier ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.