- Posts: 6
- Thank you received: 0
Javascript shown in email field on donation form
- hockey2112
- Topic Author
- Offline
- New Member
-
Less
More
13 years 1 month ago - 13 years 1 month ago #17431
by hockey2112
Javascript shown in email field on donation form was created by hockey2112
The javascript code below is currently being displayed in the email field on my donation forms. How can I get rid of that?
Thanks!
(I had to remove some of the text in the code b/c the forum will not let me post code that contains script calls.
Thanks!
Code:
<!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy18191 = '' + '@'; addy18191 = addy18191 + '' + '.' + 'com'; document.write('<a ' + path + '\'' + prefix + ':' + addy18191 + '\'>'); document.write(addy18191); document.write('<\/a>'); //-->\n </ ><!-- document.write('<span style=\'display: none;\'>'); //--> < />This email address is being protected from spambots. You need JavaScript enabled to view it.<!-- document.write('</'); document.write('span>'); //--> < />
(I had to remove some of the text in the code b/c the forum will not let me post code that contains script calls.
Last edit: 13 years 1 month ago by hockey2112.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 1 month ago #17473
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Javascript shown in email field on donation form
Hi
The solution for this problem can be found at www.joomdonation.com/10-general-discussi...front-end.html#10259
Regards,
Tuan
The solution for this problem can be found at www.joomdonation.com/10-general-discussi...front-end.html#10259
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- hockey2112
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
13 years 1 month ago #17475
by hockey2112
Replied by hockey2112 on topic Re: Javascript shown in email field on donation form
Worked like a charm. Thanks, Tuan!
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Dang Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.