![]() |
jQuery 'hiding' content on search output page
Hello I was wondering if you may be able to help with this problem.
I have a PHP search results output page. In the search results I want to have a copy button next to some of the results so users can easily copy them to their clipboard. The jQuery I'm using only works when I output the following script along with the results (i.e. it won't work if I just have it on the page statically). Code:
$('.copy').click(function() {Please help!!! |
I don’t see anything that would hide the content. Use a debugging tool (usually built into the browser already) and see what really happens. Also, you are adding a “DOM ready” function to your script or loading it at the end of the document, aren’t you?
|
| All times are GMT +1. The time now is 06:45 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.