AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters > Web Development
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Web Development Java/PHP/Perl/ASP and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Jun 15, 2003, 10:31   #1
Administrator
 
acid's Avatar
 
Join Date: Sep 2001
Location: Yerevan, Armenia
Posts: 7,155
Blog Entries: 15
Rep Power: 10
Reputation: 293
JavaScript: How to get selected text of desired element name?

This will represent any selected text in whole page for IE5.x.

document.selection.createRange().text

What if I want to get text only from specified "input" control for IE (NS has its own methods and I don't need that) ?
__________________
Chat with acid


acid is offline   Reply With Quote Quote selected
Old Jun 15, 2003, 20:31   #2
freelancer
 
Yerkanian's Avatar
 
Join Date: Jun 2002
Location: the same place
Posts: 592
Rep Power: 7
Reputation: 10
You mean from <TEXTAREA> for example?
Yerkanian is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 19:00.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link