Set Text of Container to HTML not working

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,resizable=yes,width=790,height=575')">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,resizable=yes,width=790,height=575')">More
Info</a> or click Continue.
It's not formatted as HTML, it just comes out exactly what
the coding is. Why?!

Let's see the page, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Jim Rehmann" <[email protected]> wrote in
message
news:g6a3in$dv4$[email protected]..
>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,resizable=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,resizable=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?!
>
>

Similar Messages

  • 'set text of container' won't work in IE8

    (I'm resubmitting this discussion as I wrote the wrong version of IE in my last post).
    Hoping someone can help
    At the moment I am using 'swap image' to change the text that appears within one container when I hover over different buttons.
    I am using images of text rather than text itself because I have found that the 'set text of container' won't work when tested in IE8 (which is important for me). This makes the page much slower to load than it should be.
    It works perfectly in Firefox and Safari but not in IE8.
    Below is a link to my site page which shows how it should work (even though it's currently just images not text)
    http://www.lindengraphics.com.au/feedback.html
    And below is the coding which appears when I set the page using 'set text of container'.
    <div id="apDivthumb1"><img src="assets/client_feedback/fdb_thumb1.jpg" alt="thumnbail1" name="fdb_thumb1" width="43" height="43" id="fdb_thumb1" onmouseover="MM_setTextOfLayer('feedbacktbl','','&quot;Example of text I have written.&quot;')" /></div>
    <div id="apDivthumb2"><img src="assets/client_feedback/fdb_thumb2.jpg" alt="thumbnail2" width="43" height="43" onmouseover="MM_setTextOfLayer('feedbacktbl','','&quot;Example of text I have written.&quot;')" /></div>   etc etc
    I've taught myself Dreamweaver so am still fairly new to it and coding (although not new to website design) so please explain things in simple terms so that it's clear for me.
    If anyone has the time to help me with this it would be really appreciated!!
    Many thanks in advance, Michelle

    Good News!
    There is no problem in any version of IE on a windows based machine.

  • How to restore image after Set Text of Container behavior

    Hi there, I'm not sure how to apply the Set Text of Container behavior. Basically, when I mouse over an image, I want a larger version of the image with decription text to appear.  I also want to restore the original image without text on mouse out.
    I want the larger image and its text to appear in the exact location of the original image not anywhere else on the page. Here's an example what I've done to try and achieve the effect:-
    1. Create a div and insert image in it.
    2. Select the image and Set Text of Container behavior. Under the Set Text of Container dialog box, select the div that the image is in (e.g. div "apdiv1") and type in the New HTML - For example: <img src="largerimage.jpg"><span id="apdiv1">image description</span>
    3. Set the event to mouseover
    I do not know how to proceed to restore the original image without text when I mouse out. I know I’m doing something wrong to achieve this effect but I can’t figure out what it is. Your help is greatly appreciated!

    Use CSS Disjointed Rollovers.
    http://alt-web.com/DEMOS/CSS-Disjointed-Image-Rollover.shtml
    http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-1.shtml
    http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-2.shtml
    http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-3.shtml
    Nancy O.
    THANK YOU NANCY It worked perfectly!
    THANKS GRAMPS!

  • Set text of container

    i am trying to create a login at the top of a page, where it
    will say "Welcome Guest! Not a guest? Sign in here." i inserted a
    login table, and tried using it, and it didnt work at all. i used
    the behaviors>Set text>set text of container. so when you
    click on that text, it changes the text, to the login box. I
    inserted the html, and it doesnt work at all. what is going on
    here?
    thank you.

    <div align="left" id="toplogin"
    onclick="MM_setTextOfLayer('toplogin','','&lt;form
    You can only rely on events applied to anchor tags, not to
    other page
    elements.
    Try this code, please -
    <div align="left" id="toplogin"><a href="#"
    onclick="MM_setTextOfLayer('toplogin','','&lt;form
    action=&quot;
    http://pub20.bravenet.com/passwd/show.php&quot;
    method=&quot;post&quot; onsubmit=&quot;if
    (this.checker.checked)
    toMem(this)&quot;&gt;\n &lt;input
    type=&quot;hidden&quot;
    name=&quot;usernum&quot;
    value=&quot;1706419139&quot; /&gt;\n &lt;input
    type=&quot;hidden&quot; name=&quot;cpv&quot;
    value=&quot;&quot; /&gt;\nUser
    ID:&lt;strong&gt;\n&lt;input
    name=&quot;uname&quot; type=&quot;text&quot;
    style=&quot;border: 1px solid #cccccc; width:
    100px&quot;
    value=&quot;Username&quot;
    size=&quot;15&quot; maxlength=&quot;254&quot;
    /&gt;&lt;/strong&gt;&lt;span
    class=&quot;style1&quot;&gt;Password:&lt;/span&gt;&lt;strong&gt;&lt;span
    class=&quot;style4&quot;&gt;\n&lt;input
    name=&quot;passwd&quot;
    type=&quot;password&quot; style=&quot;border: 1px
    solid #cccccc; width:
    100px;&quot; value=&quot;Password&quot;
    size=&quot;15&quot;
    maxlength=&quot;254&quot; /&gt;&lt;input
    type=&quot;checkbox&quot;
    id=&quot;checker&quot;
    name=&quot;checker&quot;
    /&gt;\n&lt;/span&gt;&lt;/strong&gt;&lt;span
    class=&quot;style1&quot;
    onfocus=&quot;MM_popupMsg(\'Remember Me (Don\'t check if
    you are using a
    public computer)\')&quot;&gt;[?]&lt;/span&gt;
    &lt;strong&gt;\n&lt;input
    type=&quot;submit&quot;
    name=&quot;submit3&quot; value=&quot;Login&quot;
    style=&quot;width: 45px;&quot; /&gt;
    &lt;input
    type=&quot;button&quot;
    onclick=&quot;delMem(this)&quot; value=&quot;Forget
    Me&quot;&gt;\n&lt;/form&gt;');return
    false">Welcome Guest! Not a guest? Sign
    in here</a>.</div>
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "future-architect" <[email protected]> wrote
    in message
    news:[email protected]...
    > the website address is
    http://www.talkitup4free.com/test2

  • How do I GET the 'set text of container' behavior in DW CS3 if it's missing?

    I'm building a site using CSS in DW CS3 (bought in May 2006) that has some photo gallery pages where a large image changes per thumbnails to its right that are clicked. The thumbnails are in their divs and the wished-for big image should appear in a larger div to the left. I've read in other postings here that I can use Behaviors panel > Set Text > Set text to container to do this, but this behavior is missing in my Set Text submenu. How do I add this behavior there?
    Also, how do I not only create this 'on click' behavior, but have the thumbnail image change to a 'HIT' state like a rollover would?
    (P.S. - posted this yesterday, slightly different heading, but it didn't appear today)
    Thanks for your help --

    Check this location in windows C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\Behaviors\Actions\Set Text
    If this Set Text folder is not there it means that the behavior did not get installed. So you might need to reinstall DW CS3.

  • Set text of container in DW CS3

    I'm building a site using CSS in DW CS3 (bought in May 2006) that has some photo gallery pages where a large image changes per thumbnails to its right that are clicked. The thumbnails are in their divs and the wished-for big image should appear in a larger div to the left. I've read in other postings here that I can use Behaviors panel > Set Text > Set text to container to do this, but this behavior doesn't appear in my Set Text submenu. How do I add this behavior there?
    Also, how do I not only create this 'on click' behavior, but have the thumbnail image change to a 'HIT' state like a rollover would?
    Thanks for your help --

    Check this location in windows C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\Behaviors\Actions\Set Text
    If this Set Text folder is not there it means that the behavior did not get installed. So you might need to reinstall DW CS3.

  • Can links inside "set text of container" behaviours open in a new page?

    I am using the set text of container behaviour to show different information within the same page, to keep things neat and simple to navigate. Some of the text needs to be external links, but they open in the current page, not a new page even though I have set the target to _blank.
    Is there another way to keep using the set text of container and have the links open in another page?
    thanks!
    Using CS6 on Macbook Pro 2.6Ghz OSX10.8

    gryffun wrote:
    Well, after some further google searches, I'll answer my own question...
    selecting the link inside the set text of container and adding a behaviour to it -  "open in browser" will make the link open in a new window.
    Or ading target="_blank" to each link will do the same

  • "Set text of container" behavior crashes Dreamweaver! (CS3)

    When I try to change pages which use the "Set text of
    container" behavior it
    crashes DW-CS3. The dialog which used to come up first shows
    a series of
    asterisks in the drop-down for the container selected, and
    the CPU does
    overtime for about a minute before the correct values appear.
    If I change
    any values and OK it, then CPU starts using over 90% on DW
    and nothing
    happens until I force a shut-down (I've left it running for
    over 15 mins!)
    I have tried setting up a new "Set text of container"
    behavior and the same
    thing happens.

    Oh it truly needs work...
    http://www.jackbooks.com/Wystan/Regional/Regionalism.htm
    Even on a simple new page with a couple of divs this
    behaviour is now very
    slow and the line of asterisks comes up while waiting for the
    dialog to
    load. What has changed? How can a simple behaviour be now so
    demanding?
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:f4opvn$sod$[email protected]..
    > Can we see the page, please?
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Stephen C" <[email protected]>
    wrote in message
    > news:f4nd0t$8lq$[email protected]..
    >> When I try to change pages which use the "Set text
    of container" behavior
    >> it crashes DW-CS3. The dialog which used to come up
    first shows a series
    >> of asterisks in the drop-down for the container
    selected, and the CPU
    >> does overtime for about a minute before the correct
    values appear. If I
    >> change any values and OK it, then CPU starts using
    over 90% on DW and
    >> nothing happens until I force a shut-down (I've left
    it running for over
    >> 15 mins!)
    >>
    >> I have tried setting up a new "Set text of
    container" behavior and the
    >> same thing happens.
    >>
    >

  • Set text of container - javascript help, please!

    I have used Dreamweaver behaviours to "Set text of container" and make different writing appear inside a box when I click a hotspot. Now I want people to be able to click on the writing that just appeared and make more text appear in another box. Could someone tell me how to do this? I don't think I can use Dreamweaver's behaviours for this because there's no material trigger... in that the writing that is the trigger only appears when the first trigger is clicked, but I'm more than happy to be corrected!!
    So, I've been trawling through javascript libraries but I don't know what I'm doing, so if someone could either tell me how to do this in dreamweaver or really spell out what libraries etc. I need to download and what code I need to make a bit of text that's already a set text of a container into a trigger for a set text of another container, that would be great!
    Sorry for the complicated question, it's difficult to explain what I mean.
    All help very much appreciated ^^

    flozzle19262010 wrote:
    I... really don't see how that will help you, considering I'm just asking HOW to do something. It's not like there's a mistake in my CSS or whatever, I just want to know if such a thing as described above is possible...
    As I say, I'm reluctant to upload it as it's for someone else.
    Have a look here http://forums.adobe.com/message/2691056#2691056.
    Both Nancy (one of the best in the business) and I have been trying to help. It's your call.
    I wish you the best of luck.
    Ben

  • Set Text in Container- Different Classes each line of text

    I'm using the Set text of Container behavior to function as a caption in my displaced rollover. It works fine but there is one problem I'm having.
    My orginal "placeholder" caption looks something  like this:
    Project Name
    Location
    Photographer
    I achieved this by using "span" on the orginal caption and each line has a class.
    However when I rollover it loses it's styling. How do I apply the classes to the text in the behavior?
    Thanks

    Sorta.
    So I would type in this below in set behavior box?
    <span class="projectname">Project Name<br /> </span> etc.....

  • I cant copy/paste from an article to my web site, get a Mozilla Rich Text Editing demo page will not work.HELP

    Tried to copy/paste from an article to my web site and got a "cannot copy /paste " warning and was directed to a security perferences site that said that Mozilla Rich Text Editing demo page will not work.
    Tried to find my Firefox profile directory using the start menu and was directed to hit enter to go to web. Feel like i am getting run around.

    Let's start with something very basic, and that is, you do not need to use the paste button on most websites. The button just reads what is on your clipboard and sticks it into the form. You can do that yourself using Ctrl+v or right-click>Paste.
    For your security, I suggest using those standard Windows keyboard shortcuts (Ctrl+x cut, Ctrl+c copy, Ctrl+v paste) or the context menu.
    Occasionally you will find a paste button that runs a clean-up script or otherwise does something useful. That is where the (admittedly a bit complicated) instructions come in handy.
    To open your active profile folder, you can use:
    Help > Troubleshooting Information > "Show Folder" button
    Which help article are you using for the modifications?
    Finally, please be cautious in opening up your clipboard to sites. You may have stuff you copied from other pages or other programs that you do not want to share with most sites.

  • HTML not working in PL/SQL block..Help me ASAP

    declare
    l_col VARCHAR2(30) :=to_number(to_char(to_date('01-feb-2011','dd-mon-yyyy'),'dd'));
    CURSOR name_cur IS
      select name
          from   od_shift_schedule
          where   year=2011
          and    (month)=('Feb')
           and    decode(l_col,1,"01",2,"02",3,"03",4,"04",5,"05",6,"06",7,
                         "07",8,"08",9,"09",10,"10",11,"11",12,"12",13,"13",14,"14",15,"15",16,"16",17,"17",18,"18",19,"19",20,"20",
                         21,"21",22,"22",23,"23",24,"24",25,"25",26,"26",
                       27,"27",28,"28",29,"29",30,"30",31,"31")='W';
    BEGIN
      DELETE FROM nam;
      commit;
      FOR i IN name_cur
      LOOP
      dbms_output.put_line(i.name);
      htp.p('<b>Employee '||i.name||'  has been ticked.
       </b><br/>');
      EXECUTE IMMEDIATE 'insert into nam(name) values('''||i.name||''')';
      commit;
    END LOOP;
    end;Kindly help me with this
    If i'm wrong here kindly help me that how can i place a display message

    Re: HTML not working in PL/SQL block..Help me ASAP
    Using the community discussion forums for urgent issues is rude and a violation of the terms and conditions.
    http://www.oracle.com/html/terms.html
    >
    4. Use of Community Services
    Community Services are provided as a convenience to users and Oracle is not obligated to provide any technical support for, or participate in, Community Services. While Community Services may include information regarding Oracle products and services, including information from Oracle employees, they are not an official customer support channel for Oracle.
    You may use Community Services subject to the following: (a) Community Services may be used solely for your personal, informational, noncommercial purposes; (b) Content provided on or through Community Services may not be redistributed; and (c) personal data about other users may not be stored or collected except where expressly authorized by Oracle
    >
    Also please read the FAQ on how to ask questions.
    SQL and PL/SQL FAQ
    >
    2) Thread Subject line
    Give your thread a meaningful subject, not just "help please", "Query help" or "SQL". This is the SQL and PL/SQL forum. We know your question is going to be about those things, make it meaningful to the type of question so that people with the right sort of knowledge can pick it up and those without can ignore it. Never, EVER, mark your subject as "URGENT" or "ASAP"; this forum is manned by volunteers giving their own time to help and your question is never urgent or more important than their own work or than other people's questions. It may be urgent to you, but that's not forum members issue.

  • Text-to-speech engine is not working

    when I want to use 'read out loud' in adobe reader and  foxit , I'm get no sound, I have similar problem in babylon that using TTS engine of OS.
    I'm using windows 8.1 64 bit.
    Do not get any error, but when play would have no sound.
    I previously didn't have any problem with these softwares.
    really need this functionality, please help me.
    Babylon support
    told me::
    Babylon uses a free text-to-speech engine that was developed by Microsoft and is part of Windows OS. please check with Microsoft support , why your text-to-speech engine is not working.

    Hi,
    If you go to the Start Screen, search for "Narrator" within All Apps and click it, what happens?
    In addition, please follow the steps below to check Speech Properties if there is anything wrong with it.
    Control Panel\Ease of Access\Speech Recognition\Advanced speech options
    Roger Lu
    TechNet Community Support

  • Hyperlink that contains backslash is not working in Acrobat Reader 8 and 9

    Hi,
    Does anyone know why a hyperlink that contains backslash is not working in Acrobat reader 8 and 9?
    I created a document in Indesign CS and it contains hyperlinks that open up files from network drive so they contain backslash (for example: c:\foder\forder\filename.jpg). All the hyperlinks work in Acrobat Reader 6 but not in Acrobat Reader 8 or 9.
    Anybody could share the solution would be very much appreciated. Thanks!

    Did you ever figure this out? I am also having problems with the "No Hand" javascript which turns off the (not very helpful) page-forward hand icon (a hand symbol with a down arrow) which confuses our users when in fullscreen mode. We create interactive PDFs and everything worked fine up to Acrobat X/Reader X. Now in XI it doesn't allow the internal link icon (pointing finger) nor weblink icon (pointing finger with W) to appear. It just remains a plain o’ hand icon no matter what you mouse over even though there are links present.

  • HT204065 Group text with one non iPhone not working on iPhone 6 in the group.

    Group text with one non iPhone not working on one iPhone 6 in group. SMS, MMS and iMessage as well as group messaging are all turned on. Has worked intermittently but now cannot see or respond in that particular chain. Can send independently to the non iPhone (Samsung) but not in group. Other iPhone 6 and 5 in group work fine.

    The reason why you have to turn off 3Gs is because T-Mobile does not support iPhones 1700 something or other. You have to turn off the 3Gs on the iPhone to make it work.
    As already provided, it shouldn't matter since the iPhone is designed to automatically connect to the fastest internet connection available. If wi-fi access and 3G network access is on, when in range of an available wi-fi network you have access to and have connected your iPhone with previously, the iPhone will connect to the wi-fi network automatically. When leaving the range of the wi-fi network, the iPhone will connect to the 3G network if 3G network access is available. If 3G network access is not available, the iPhone will connect to EDGE or GPRS - whichever is available at the time.
    If this is unique to T-Mobile's network with the iPhone for some reason since T-Mobile is not an official carrier for the iPhone in the U.S. and you were instructed by T-Mobile to do so, then you need to do so.
    If this is not working now, the problem lies with T-Mobile and I have no idea what to tell them for them to recognize where the problem lies on their end.

Maybe you are looking for

  • HP LASER JET PRINTER CFNWM NOT PRINTING FAX

     Love this printer. Have it about 2 years. Had no issues until now. Faxes are received to memory but don't print.Can print fax from memory. Also can print from othewr applications,so printer is not the ussue. Why won't the faX  print on  receipt

  • Able to generate sales order whith out stock in SLoc

    Hi Gurus In  the plant AB58 and storage location A001 ,only we have stock in status blocked, because they are products with short date if we sell these product to a broker the system has to check the blocked status. we are able to  generate a order a

  • Bapi doubts

    Hi All , I have some doubts in Bapi 1) why we can not use exception in Bapi ? 2)  BAPI must not execute a COMMIT-WORK command. 3) why its necessary to released the bapi & how ? 4) In Bapi there is a test  for Example IF 1 = 2. If the test is true a m

  • About oracle 10g10.2.0.1.0

    please if some one have time for me solve my problem/ i have the following os micro soft XP professional version 2002 service pack 2 i have install the oracle 10g Ex i give the user name and password if works fine now i have install the oracle 10g 10

  • Ios 7 and Apple ID

    Okay my mom recently updated to ios7 on her 4s and is now having problems. For example when trying to download an app it asks for a password like it normally does but when she enters her Apple ID password like she normally does it won't accept it. Al