To expand on that, you can also have a "Select All" button next to the text
area that selects the code for the user so that all they have to do is copy
it.  Something like:

function selectAll(){
document.forms[0].ebaybidarea.focus();
document.forms[0].ebaybidarea.select();
}

then in the button :

<INPUT name=Button1 onclick=selectAll() type=button value="Select all">

Hope this helps.

tom

----- Original Message -----
From: "Eron Cohen" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, October 28, 2000 11:38 AM
Subject: RE: HTML problem still here...


> Hi Rich,
>
> Why not have a textarea that has the HTML code in it
> display on the result page.  Then people can just copy
> and paste it right out of the textarea.
>
> I am not sure how you're backend code is working right
> now, but in order for this to work, you may need to
> write the resulting page to a file (or write it into a
> variable or something like that) and then read it into
> a variable and then put that variable between your
> <TEXTAREA>#THERESULT#</TEXTAREA> tags.
>
> Hope this helps.
>
> Eron
>
> -----Original Message-----
> From: ibtoad [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, October 28, 2000 11:23 AM
> To: CF-Talk
> Subject: HTML problem still here...
>
>
> Ok, I created this little form page that helps people
> generate a
> professional ebay auction page. As you can see the
> only way they can get the
> html code right now is to use the internet explorer
> source button.  I have
> asked this same question a couple of day ago and still
> haven't figured it
> out.  Is there a way I can get the html code that is
> generated to display in
> the browser instead of using the source button?  Here
> is the link:
> http://www.cfm-resources.com/h/happytoad/
>
> Some people have suggested the htmleditformat fuction,
> but I don't
> understand how that works.
>
> P.S. you don't have to fill in any info to test it
> just click the submit
> button.
>
>
> Thanks,
> Rich
>
> Thanks,
> Rich
>
> --------------------------------------------------------------------------
----------------------
> Archives:
> http://www.mail-archive.com/[email protected]/
> Unsubscribe:
> http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Messenger - Talk while you surf!  It's FREE.
> http://im.yahoo.com/
> --------------------------------------------------------------------------
----------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to