Click here to Skip to main content
15,912,837 members
Home / Discussions / Web Development
   

Web Development

 
Questiononchange with select tags Pin
spinanicky1-Feb-07 8:46
spinanicky1-Feb-07 8:46 
AnswerRe: onchange with select tags Pin
Rojan Gh.1-Feb-07 12:50
professionalRojan Gh.1-Feb-07 12:50 
Questionvisual studio 2005 issue Pin
Shaimmaa1-Feb-07 6:02
Shaimmaa1-Feb-07 6:02 
AnswerRe: visual studio 2005 issue Pin
Christian Graus1-Feb-07 9:43
protectorChristian Graus1-Feb-07 9:43 
QuestionCMMI Pin
Member 37855611-Feb-07 5:48
Member 37855611-Feb-07 5:48 
QuestionWeb service issues Pin
Parmenio1-Feb-07 2:09
Parmenio1-Feb-07 2:09 
AnswerRe: Web service issues Pin
parsiphal1-Feb-07 3:46
parsiphal1-Feb-07 3:46 
QuestionJavascript Copy Text Pin
tech_freak1-Feb-07 1:49
tech_freak1-Feb-07 1:49 
I am trying to make copy a text feature by using Javascriot and I wrote a function for it::

function copyData(field)
{
field.focus();
field.select()
Copied = field.createTextRange();
Copied.execCommand("Copy");
}

But it works in IE only, I want to get it worked in Mozilla, Firefox and Netscape too. What changes should I make for that??

I've used setSelectionRange(start,end) instead of createTextRange(), it only selects the text from the range from 'start' to 'end' but doesn't copy it.

Kindly Suggest!!

Confused | :confused:

ANUJ
AnswerRe: Javascript Copy Text Pin
Vasudevan Deepak Kumar1-Feb-07 3:52
Vasudevan Deepak Kumar1-Feb-07 3:52 
AnswerRe: Javascript Copy Text Pin
David Domingues1-Feb-07 5:44
David Domingues1-Feb-07 5:44 
Questionddl with grid Pin
praveenanand31-Jan-07 20:00
praveenanand31-Jan-07 20:00 
AnswerRe: ddl with grid Pin
badgrs31-Jan-07 22:44
badgrs31-Jan-07 22:44 
QuestionAdd elements from one ListBox to another Pin
varshavmane31-Jan-07 18:09
varshavmane31-Jan-07 18:09 
AnswerRe: Add elements from one ListBox to another Pin
Sachin Pimpale31-Jan-07 19:03
Sachin Pimpale31-Jan-07 19:03 
GeneralRe: Add elements from one ListBox to another Pin
varshavmane31-Jan-07 19:58
varshavmane31-Jan-07 19:58 
Questiondesign and control media player Pin
gigo2k631-Jan-07 11:18
gigo2k631-Jan-07 11:18 
AnswerRe: design and control media player Pin
Bradml31-Jan-07 13:23
Bradml31-Jan-07 13:23 
AnswerRe: design and control media player Pin
Vasudevan Deepak Kumar1-Feb-07 3:53
Vasudevan Deepak Kumar1-Feb-07 3:53 
Questiondropdown menu with javascript Pin
MayyMagdy31-Jan-07 2:46
MayyMagdy31-Jan-07 2:46 
AnswerRe: dropdown menu with javascript Pin
badgrs31-Jan-07 2:55
badgrs31-Jan-07 2:55 
GeneralRe: dropdown menu with javascript Pin
MayyMagdy31-Jan-07 5:16
MayyMagdy31-Jan-07 5:16 
GeneralRe: dropdown menu with javascript Pin
badgrs31-Jan-07 6:29
badgrs31-Jan-07 6:29 
QuestionNeed help in making email client Pin
EEmaan30-Jan-07 20:10
EEmaan30-Jan-07 20:10 
AnswerRe: Need help in making email client Pin
Bradml30-Jan-07 20:44
Bradml30-Jan-07 20:44 
Questioni am in trouble because of very big ASP form Pin
ajitscorpio30-Jan-07 10:38
ajitscorpio30-Jan-07 10:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.