![]() |
|
#1
|
||||
|
||||
[Help] JavaScript Encryption ScriptI am trying to modify Walt's script that he posted in reply to my encryption method.
I want to allow the user to Copy the text to the clipboard, or manually select and copy it. The problem I am having right now is with the copy button code. I am trying to insert it, but it isn't quite working out for me. I am trying to display it in this part of my email.js file: Code:
You can see the latest versions of this at: mrbobdouglas[dot]com/testing/email.js mrbobdouglas[dot]com/testing/email_encryption.php mrbobdouglas[dot]com/testing/copy.js I include the external email.js file, and call the function to display the text boxes ect by: Code:
Not sure where to go from here. :eek2 Thanks! __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#2
|
||||
|
||||
|
Quote:
As for a button to accomplish this task, I haven't a clue. |
|
#3
|
||||
|
||||
|
Quote:
Yes someone can manually click inside the box and scroll down, then right-click and copy it. Or they can click one button. __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#4
|
||||
|
||||
|
Quote:
If I find anything about the button, I'll let you know. |
|
#5
|
||||
|
||||
|
I also use that, but others might not.
If you take a look again at http://www.mrbobdouglas.com/testing/...encryption.php you will see a few more set of errors. I get a different error message this time though. Complaining about 1st one: Line: 32 Char: 55 Error: Unterminated string constant Code: 0 2nd one: Line: 31 Char: 3 Error: Object expected Code: 0 __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#6
|
||||
|
||||
|
Quote:
Quote:
Code:
Hope that's a help. Code:
|
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| We're looking for JavaScript codes / mini tutorials. | JdS | Web Design Forum | 7 | 31-Mar-2008 23:25 |
| JavaScript Resolution Redirection Tutorial | pcxgamer | Web Design Forum | 0 | 01-Dec-2003 11:37 |
| JavaScript Tutorial Part 1 | pcxgamer | Web Design Forum | 2 | 01-Dec-2003 09:16 |
| Why does javascript cause sound problem to website | rhino1616 | Web Design Forum | 8 | 06-May-2003 16:25 |
| VALIDATING file types on an PHP upload script? | JdS | MySQL / PHP Forum | 0 | 02-Jan-2003 07:58 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The