how to copy some text to the clipboard with jquery or javascript, from google. i know there
is a pludgin named zeroclipboard
this link is the instructions http://code.google.com/p/zeroclipboard/wiki/Instructions
can do this and can cross browers. but when i tested it on my site. i set it to copy text optionally . it can’t work.
my test link is Untitled 1
it always copys all the values. even i uncheck some check box. may be the value doesn’t be changed. but when i alter() the variable, the value is ok. how to correct it? thank you.
i want it can copy the checked box value. if the box unchecked, then don’t copy its value.