Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Web Development
Register

Reply
 
LinkBack Thread Tools
Old 15.06.2003, 11:31   #1
Moderator
 
acid's Avatar
 
Join Date: 09 2001
Location: South Korea, Gumi
Posts: 7,699
Downloads: 102
Uploads: 34
Blog Entries: 16
Reputation: 561 | 6
Default 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) ?
Reply With Quote
Old 15.06.2003, 21:31   #2
freelancer
 
Yerkanian's Avatar
 
Join Date: 06 2002
Location: the same place
Posts: 592
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

You mean from <TEXTAREA> for example?
Reply With Quote
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 11:50.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.