User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 425,926 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,704 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1150 | Replies: 0
Reply
Join Date: Dec 2006
Posts: 1
Reputation: t.maheswari is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
t.maheswari t.maheswari is offline Offline
Newbie Poster

Request for javascript based editor

  #1  
Dec 29th, 2006
Dear Friends,

I have one doubt in html text editor.
my editor have the table icon, when the user click that icon table is placed in editor.
How it done means..
First the convert all table tags to string(eg. str="<table id='table1'><tr><td></td></td></table>")
using pasteHtml Property we place the table in editor.

upto this all are working fine.

The Question is:
Assume the editor has more than one table.
If i click on one table and click the table icon, i can't get the table name which is selected.

So when i click the table icon i just want to retrieve the selected table name.

For this scenario , i am using
iframeid.document.selection.createRange()

But it's not working, it gives an error .

Please give your suggestion to solve this scenario..
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 9:04 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC