Skip navigation
Currently Being Moderated

copy and paste

May 1, 2012 12:07 PM

i can't not copy and paste my code here when posting the message in this forurm.  if  click html editor then cfm code won't show up here.  Can you tell me how copy the code and paste into this editor instead of re-typing line by line?

 

thanks

 

kt

 
Replies
  • Currently Being Moderated
    May 1, 2012 12:51 PM   in reply to kt03

    What browser are you using, and from where are you copying the code.

     

    I'm using Chrome, and I have just copied this code from CFB:

     

    <cfquery name="q">

              SELECT          col

              FROM          table

    </cfquery>

     

     

    <cfset s = "">

     

     

    <cfloop query="q">

              <cfscript>

                        s &= col;

              </cfscript>

    </cfloop>

     

     

    <cfoutput>#s#</cfoutput>

     

    The forum text field messes with it a bit, but not too badly...

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    May 1, 2012 2:43 PM   in reply to kt03

    I paste directly into the textarea without selecting any of the rich text features.

     
    |
    Mark as:
  • Currently Being Moderated
    May 2, 2012 5:54 AM   in reply to kt03

    It's because Jive SBS ® 4.5.6.3 forum software is rubbish, and I suspect Adobe havenot configured it properly either (judging by all the JS errors I get when trying to browse it with IE).

     

    So the simplest solution is to not use IE.  These forums don't work properly with IE => don't use IE.  Simple.

     

    But I have to say, why the hell are you using IE?  You're a web developer, yes?  How can your browser of choice be IE?  I don't mean from any sort of anti-Microsoft or anti-IE perspective (although the latter would be valid), but it's just not the tool for the job.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    May 2, 2012 10:25 AM   in reply to Adam Cameron.

    Regarding:

    "But I have to say, why the hell are you using IE?  You're a web developer, yes?  How can your browser of choice be IE?  I don't mean from any sort of anti-Microsoft or anti-IE perspective (although the latter would be valid), but it's just not the tool for the job."

     

    I do intranet stuff for my employer and the only browser we support is IE.  Maybe the OP is in a similar situation.

     

    Also, I have no difficulties with this forum at work.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points