-
May 26th, 2017, 09:26 PM
#1
DOM Elements to Rich Text
I have a website that I'm using to build scripts for businesses.
What it does is create DOM elements dynamically to display the script. The following would be an example of some dynamically generated HTML:
Code:
<ul class="ui-sortable ui-selectable">
<li class="ui-state-default ui-widget-content">
<span class="person">Caller:</span>
Hi is this [name]?
</li>
<li class="ui-state-default ui-widget-content">
<span class="person">Prospect:</span>
Yep, sure is.</li>
<li class="ui-state-default ui-widget-content">
<span class="person">Caller:</span>
My name is [name] and I'm calling from XYZ company.</li>
<li class="ui-state-default ui-widget-content">
<span class="person">Prospect:</span>
Bruh... I don't care.
</li>
</ul>
What I am wanting to do is convert the way that it looks on screen with all of the sytling into a RichTextFormat file so that the user can download and save it for offline use. Is there any way that I can do this?
Last edited by dday9; May 30th, 2017 at 10:54 AM.
-
May 30th, 2017, 02:47 AM
#2
Re: DOM Elements to Rich Text
Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you
-
May 30th, 2017, 05:36 AM
#3
Re: DOM Elements to Rich Text
-
May 30th, 2017, 08:17 AM
#4
Re: DOM Elements to Rich Text
Wow! Both of these seem to do what I want. I'll look into both and see what I decide.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|