jQuery.timeago and schreikasten?
-
I managed to get jQuery.timeago to work with schreikasten but when someone posts a comment it disappears. Is there a way I can trigger timeago function on focus or blur or click of submit button. Currently I’ve tried these in the header:
<script> jQuery(document).ready(function() { jQuery("abbr.timeago").timeago(); }); </script> <script> jQuery(document).ready(".sk-comment").blur(function() { jQuery("abbr.timeago").timeago(); }); </script> <script> jQuery(document).ready(".sk-comment").focus(function() { jQuery("abbr.timeago").timeago(); }); </script> <script> jQuery(document).ready("input.sk-button").click(function() { jQuery("abbr.timeago").timeago(); }); </script>
but none work. It only re-appears when I click on the page.
Thanks for any advise.
- The topic ‘jQuery.timeago and schreikasten?’ is closed to new replies.