20 lines
523 B
JavaScript
20 lines
523 B
JavaScript
(function ($) {
|
|
$(function () {
|
|
$(".active-payments-main").delegate('td', 'mouseover mouseleave', function (e) {
|
|
if (e.type == 'mouseover') {
|
|
$(this).parent().addClass("hover");
|
|
$("colgroup").eq($(this).index()).addClass("hover");
|
|
} else {
|
|
$(this).parent().removeClass("hover");
|
|
$("colgroup").eq($(this).index()).removeClass("hover");
|
|
}
|
|
});
|
|
});
|
|
})(jQuery);
|
|
|
|
jQuery(document).ready(function () {
|
|
jQuery('input[to_number=1]').each(function () {
|
|
jQuery(this).attr('type', 'number');
|
|
});
|
|
});
|