•
•
•
•
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 426,394 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 2,281 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: 1151 | Replies: 0
•
•
Join Date: Dec 2006
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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..
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..
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Microsoft - sort it out (rant) (Software Developers' Lounge)
- Hai All, Can anybody solve this problem its urgent (JavaScript / DHTML / AJAX)
- get html element value using php (PHP)
- AJAX techniques... (JavaScript / DHTML / AJAX)
- I Need Help!! (Java)
- WINDOWS vs LINUX (Windows NT / 2000 / XP / 2003)
- 403 Forbidden You don't have permission to access /index.htm on this server. (Linux Servers and Apache)
- Page size? (HTML and CSS)
- Lotsa new features! (DaniWeb Community Feedback)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Enlarge thumbnail image in new window
- Next Thread: How to save session values in JavaScript



Threaded Mode