I want to be able to get my
string for the src attribute from a Javascript function. I know there is a way to do this, but it has been a few years since I last did this and I can't seem to get the syntax right or something...
Currently I have a function like this...
<script language="javascript">
function getUrl(){
/* build URL here ... */
return URL;
}
</script>
Then I try to use the function like this...
<iframe src=javascript:getUrl(); width="100%" height="100%"></iframe>
This does not work though...