I've got the coding below, but it doesn't highlight the table row at all. What am I doing wrong here?
- <script language="javascript">
- $(document).ready(function() {
-
- $('select').change(function() {
-
- if ($(this).val()=='delete'){
- $.ajax({
- var parent = $(this).closest('tr');
- parent.animate({'backgroundColor':'#00B2EE'},300);
- parent.fadeOut(300,function() {
- parent.remove();
- window.location= ("http://www.test.com");
- });
- });
-
-
- }
- });
-
- });
- </script>