- see footer for list info -<
Yes, try to escape all the <> with \(backslash), so you will have something like "\<a href"..."\</a\>"

Cheers


----- Original Message ----- From: "Pete Dray" <[EMAIL PROTECTED]>
To: "Coldfusion Development" <[email protected]>
Sent: Tuesday, April 18, 2006 2:52 PM
Subject: [CF-Dev] Re: Anyone use AJAX?


- see footer for list info -<
It has converted the < to &lt; and the > to &gt;

Do I need to escape it in some way?

On 18/04/06, Marcos Placona <[EMAIL PROTECTED]> wrote:
>- see footer for list info -<
How is it writing the content on the page? Try to alert the value of the
variable cell, e see if it's creating the link correctly.

Cheers
----- Original Message -----
From: "Pete Dray" <[EMAIL PROTECTED]>
To: "Coldfusion Development" <[email protected]>
Sent: Tuesday, April 18, 2006 2:34 PM
Subject: [CF-Dev] Anyone use AJAX?


>- see footer for list info -<
All,

I am having trouble embedding a link in some AJAX stuff I'm working on here:

  cell = createCellWithText("<a href='javascript:void(0);'
onClick='doSearch2('<cfoutput>#cgi.http_host#</cfoutput>',"+place_id+"')>"+devicelocation+"</a>");
    row.appendChild(cell);

No error but the result is the link as plain text rather than a clickable
link.

Pointers gladly accepted.

Pete
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your >help -<

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your >help -<

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to