rainmanjam
08-26-2008, 09:12 PM
I have spent several hours trying to find a solution to this.
I have a url that is created via javascript:
<a href="javascript:redirectURL();" class="parent">Mark</a> // Here is where I want to insert the code
javascript code
function redirectURL(){
var jsvar1;
var jsvar2;
return "http://www.bla.com/test.aspx?var1="+jsvar1+"&var2="+jsvar2";
}
From this code, I want to launch a modal using the link in the javascript. It looks as if all of the modal apps that I have found need to have the "HRef" populated with the url. Has anyone else run into this issue and found a solution?
I have a url that is created via javascript:
<a href="javascript:redirectURL();" class="parent">Mark</a> // Here is where I want to insert the code
javascript code
function redirectURL(){
var jsvar1;
var jsvar2;
return "http://www.bla.com/test.aspx?var1="+jsvar1+"&var2="+jsvar2";
}
From this code, I want to launch a modal using the link in the javascript. It looks as if all of the modal apps that I have found need to have the "HRef" populated with the url. Has anyone else run into this issue and found a solution?