Hi,
I'm finding that when I use the following code in IE6 to create a link it is auto adding the website address upto the address where i am running the plugin from:
i.e:
var sTagOutput = '<a href="' + sURL.value + '">' + document.getElementById( "txtTitle").value + '</a>';
oEditor.FCK.InsertHtml( sTagOutput );
the result would be something like <a href='http://www.spcs.eu/assets/plugins... etc
in firefox though i get <a href='pagename.html'> which is what i want
I have tried adding a / just before the page name which is slightly better and takes me to http://www.spcs.eu/pagename.html but i wish to loose the domain name altogether.
Any help would be much appreciated.
Tue, 08/01/2006 - 00:14
#1
RE: FCK.InsertHtml creating link in IE proble