I have a need to place a JS copy command inline with a menu item, but I can't seem to get it to funtion like id hoped.
Here's the deal.
When a user clicks on a menu item it opens a form. I'd like to have an email address posted to the clip board upon entering the form so that they will have it handy to fill out the form.
In JS the code works great and looks like this:
Code: Select all
onclick="javascript:window.clipboardData.setData('Text','text_i_want_copied');location.href="http://websites.milonic.com/microsoft.com';"
Code: Select all
aI("text=Activity Log;url=http://forms.cgaux.org/email/a7029s.pdf);
Code: Select all
url=url=javascript:window.clipboardData.setData('Text','text_I_want_copied');http://forms.cgaux.org/email/a7029s.pdf
Any assistance would be greatly appreciated.
David.