473,513 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Anybody know how to add a table using DOM/JS/execCommand with an iFrame

AAAAARRRRGGGGHHHH!!!

Everything appears to be great in doing a web-based editor using the
execCommands apart from the fact that there is no method to insert a table.

I've seen somebody suggest that you create the table using pure DOM, but I
can't reference it to the relevant place in the iFrame that I'm using, ie if
I want to insert a table between 2 pieces of text that have just been typed
then how to get the table to go into there.

The annoying thing is you have great control of the table when it is in the
iFrame, but it's getting it in there that's the problem.

Has anybody got any ideas on how I can do this?

Thanks

Laphan

Jun 17 '06 #1
0 1241

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4259
by: Simon | last post by:
Hi, I have a webapp that allows an HTML description for an object to be saved. It used to be pure text with no formatting. This caused problems if the user entered (for example) and iframe tag,...
1
2037
by: Edd Read | last post by:
Hi, I have made a basic WYSIWYG editor using the execCommand functions. I use an iFrame as the editing area and so far I have managed to create documents from a blank page and save them to a...
3
5518
by: Sharon | last post by:
Hi! I need help. I have a variable which is just a string containing the output of a transform from XML to CSV format. I want the client to be able to download this as a file (.csv), so I used...
1
7475
by: anonieko | last post by:
> Use x = window.Open(...) x.document.write( yourhtml) > How to print from javascript using .print > How to use ContentWindow > > How t use getElementById > How to get HTML of document...
4
7132
by: am75 | last post by:
Hi everybody, I'm developing web pages for content management using iframes, through which users can edit html portions... I found execCommand to apply simple formats (bold, italic...) to text....
2
5694
by: Laphan | last post by:
AAAAARRRRGGGGHHHH!!! Everything appears to be great in doing a web-based editor using the execCommands apart from the fact that there is no method to insert a table. I've seen somebody suggest...
23
7652
by: abdalimohd | last post by:
hi all, i m developing an html editor for my web page since i cannot trace out the enter key press for the available html editors for asp.net app. now i have done everything that i need with this...
1
4891
by: appleseed | last post by:
I'm having some problems on IE with a small editor I'm building. The source of the problem is the following: Consider having an iFrame with designMode="on" in which you select some text. When...
9
8081
by: shailaja.sheel | last post by:
Hi , This is my first attempt to do some html/javascript programming and I am totally lost. I have a questionaire form and when user clicks Submit, I want to save the data in XML file on client...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5089
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1596
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.