html - JQuery highlight table row -
i have table row has class='highlightedrows' within html
i trying use
$(".highlightedrows").effect("highlight", {}, 1500);
but gives me javascript error 'object not support property or method' code 0 in i.e 6
i importing effects.core.js , effects.highlight.js, because animate method won't work on table row element?
thanks,
ignore wan't importing file correctly... delete question
i have tried , works. jquery javascript files have specified are:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script>
my javascript is:
$('tr').click(function(){$(this).effect("highlight", {}, 3000);});
have specified files correctly?
Comments
Post a Comment