The following index.thtml gives a Google link of
http://www.mydomain.com/tests/http://www.google.com instead of
http://www.google.com. What shoud I do to get get the correct link?

-index.thtml-
<html>
<script>
function insertScript(){
    var sHTML="<a href='<? echo $html->url("http://www.google.com";); ?
>' >Google</a>";
    scriptDiv.innerHTML = "<br/>" + sHTML;
}
</script>

<body onload="insertScript();">
   <div id="scriptDiv"></div>
</body>
</html>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to