![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
More Info</a> or click Continue. |
|
More Info</a> or click Continue. |
#2
| |||
| |||
|
|
I have a div tag named "theAnswer" on a page. When the user clicks the "Submit" button, I want some text to appear inside the div that has HTML formatting. The HTML code for the text I want to appear is below: You are correct! We are committed to conducting business with the highest degree of integrity, complying with legal standards and regulations and serving others with respect, fairness and caring. Click here for <a href="javascript:;" onClick="MM_openBrWindow('../docs/ Ethics_Standard_1.pdf','','scrollbars=yes,resizabl e=yes,width=790,height=57?5')" More Info</a> or click Continue. After I put in the Behavior to "Set Text > Set Text of Container to", choose the correct Div tag, and paste the above into the "New HTML" field, when I click the Submit button, I get the following appearing in the div "theAnswer" exactly how it appears below as text without it being actual formatted HTML. You are correct! We are committed to conducting business with the highest degree of integrity, complying with legal standards and regulations and serving others with respect, fairness and caring. Click here for <a href="javascript:;" onClick="MM_openBrWindow('../docs/ Ethics_Standard_1.pdf','','scrollbars=yes,resizabl e=yes,width=790,height=57?5')" More Info</a> or click Continue. It's not formatted as HTML, it just comes out exactly what the coding is. Why?! |
#3
| |||
| |||
|
|
After I put in the Behavior to "Set Text > Set Text of Container to |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
I think I want to approach this from a different direction. I'm going to make the div tag invisible, and then make it visible once the user clicks on Submit. |
#6
| |||
| |||
|
|
After I put in the Behavior to "Set Text > Set Text of Container to It sounds like that behavior is setting the text...not the HTML via something like innerHTML -Darrel |
![]() |
| Thread Tools | |
| Display Modes | |
| |