473,395 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Javascript commands within email - not working.

Hi,

I was playing around with some of the basic javascript commands like
onMouseOver, onMouseOut, stuff like that and trying to use them within
HTML e-mails.

However, when composing the e-mail javascript seems fine. I can
preview it and the javascript (as much as one can see) appears to be
working.

But when I send it to my Yahoo and Gmail, the javascript doesn't come
through. The HTML formatting is fine. All my browser settings allow
javascript.

Any ideas why this is happening? Sorry it is such a basic question.

Thanks.

Oct 23 '07 #1
2 2797
da***********@gmail.com meinte:
Hi,

I was playing around with some of the basic javascript commands like
onMouseOver, onMouseOut, stuff like that and trying to use them within
HTML e-mails.

However, when composing the e-mail javascript seems fine. I can
preview it and the javascript (as much as one can see) appears to be
working.

But when I send it to my Yahoo and Gmail, the javascript doesn't come
through. The HTML formatting is fine. All my browser settings allow
javascript.
I suppose Yahoo/Google filters your JS before delivering the mail.

Gregor
--
http://www.gregorkofler.at ::: Landschafts- und Reisefotografie
http://www.licht-blick.at ::: Forum für Multivisionsvorträge
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Oct 23 '07 #2
Gregor Kofler wrote on 23 okt 2007 in comp.lang.javascript:
da***********@gmail.com meinte:
>Hi,

I was playing around with some of the basic javascript commands like
onMouseOver, onMouseOut, stuff like that and trying to use them within
HTML e-mails.

However, when composing the e-mail javascript seems fine. I can
preview it and the javascript (as much as one can see) appears to be
working.

But when I send it to my Yahoo and Gmail, the javascript doesn't come
through. The HTML formatting is fine. All my browser settings allow
javascript.

I suppose Yahoo/Google filters your JS before delivering the mail.
Any decent email client will disallow javascript.

If you send the html as a attachment, it should work when viewed with a
browser. I would never try that as a security conscious email receiver,
unless I know the sender personally and can vouch for him, or have scanned
the sourse code with my own eyes.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Oct 23 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephen | last post by:
I've got this great wee function which strips out the spaces entered into a textbox and it does this on the key press off a user. I got this working in a test application no problem however when I...
1
by: Markusek Peter | last post by:
How can I call JavaScript function within <TABLE> tags. I've got <table width="here should be return value from js script"> Thank you.
3
by: mahiapkum | last post by:
hi all, insmod and rmmod commands are not working can anybody help me.Thanx in advance.
5
by: printline | last post by:
Hello Can anyone tell me how to make a popup window with javascript from within a php code: Here is my javascript: <script language="JavaScript"> function win1() {
31
by: ajos | last post by:
hi frnds, i have a form,which has 2 input text boxes, the values are entering the text boxes,when i leave the 2 text boxes blank and hit submit a java script gives the message that the 2 fields are...
2
by: gsherp | last post by:
Is there anyway to call a javascript function within an innerHTML call? example: var someelement = document.createElement("input"); var someelement2 = document.createElement("input"); ...
1
by: vunet | last post by:
What's the possible disadvantage of including JavaScript files within a JavaScript file? Why I needed it? For the sake of easy management, perhaps? Any load speed disadvantage? Example below: ...
22
by: canabatz | last post by:
Hi all! i got a countdown timer for auctions that runing. i got a DIV that refreshs every 4 seconds that DIV is refreshed by ajax ,the file that is refreshed is timer.php for example!! my...
2
by: LindaDhasan | last post by:
Hi, I am a beginner with javascript.Please help me clarify how to display the result of a javascript function within html underline tag.PFA the code. <html> <head> <script...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.