/    Sign up×
Community /Pin to ProfileBookmark

Javascript doesn’t work with mozilla

I have written a sourcecode with allows me to replace the selected text in a textarea
It already works on IE based systems very well, but it doesn’t want to work with mozilla!

Is there any opportunity to show the selected text of the textarea?

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@VladdyJul 12.2004 — You must have used some proprietory M$ crap.

Learn DOM.

Provide a link to the page or post some code, if you want more help.

Study this for cross-browser solution: www.vladdy.net/Demos/TextAreaInsertion.html
Copy linkTweet thisAlerts:
@____BenM____authorJul 13.2004 — Thank you very much! That helped me a lot!
Copy linkTweet thisAlerts:
@VladdyJul 13.2004 — Welcome
Copy linkTweet thisAlerts:
@____BenM____authorJul 15.2004 — Imagine I have two windows:

1 - there is a textarea named "text"

2 - there is a button

Now I'm searching for a Programm which changes the value of the textarea when someone clicks an the Button in the other window.
×

Success!

Help @____BenM____ spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...