It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Need help passing HTML code passed via OnClick

Need help passing HTML code passed via OnClick

Postby toulousse on Sat Mar 07, 2009 4:03 am

Hi,

My question is probably too simple, but I have a link on a web page, when the link is clicked it passes html text to another location on the screen and displays it there, via javascript onclick event.

The problem I have is that the HTML text is not being rendered e.g. <b>my text</b> is being displayed exactly as I've just written it. Shouldn't the browser render this as bold text.

I'm Using IE6.0 (App will only ever be used in this environment)
Thanks in advance
toulousse
 
Posts: 1
Joined: Sat Mar 07, 2009 3:19 am

Re: Need help passing HTML code passed via OnClick

Postby palme on Sat Mar 07, 2009 9:19 pm

Hi
if you want to write a part of javascript code that do the job with error , i can probebly better help. but just i know it is about that text that is transfered(by onclick) to next page
and just another thing: are you sure that the extension of nextpage is .htm or .html, .php or .asp (this means your page is for example nextpage.htm)
palme
 
Posts: 37
Joined: Wed Aug 06, 2008 9:18 pm

Re: Need help passing HTML code passed via OnClick

Postby rangana on Wed Mar 11, 2009 5:01 am

Most probably the codes were treated as string.

Please provide a link to your page.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines


Who is online

Users browsing this forum: No registered users and 5 guests

cron