Click here to Skip to main content
15,921,646 members

1 solution

you can still use the javascript function to bind dynamic href

SQL
Send the value to the function:


function BindDynamicHref(URL){
window.location.href = "http://www."+URL;
}


And call the function like so:


onclick="BindDynamicHref('desiredwebiste.com');"


Hope this will resolve your issue.
 
Share this answer
 
Comments
Shibiny 18-Nov-11 3:35am    
how to call a javascript function in pageload in asp.net

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900