Can someone give me advice with this. I just started using jslint and I got an error message "strict violation" pointing to the line with "dialog(this)" -
function accessLinkClick(e) {
e.preventDefault();
$('.accessLink')
.unbind('click', accessLinkClick);
dialog(this);
}
function accessControls() {
$('.accessLink')
.bind('click', accessLinkClick);
$('#logoutLink')
.click(function (e) {
window.location = $(this).attr('data-href');
});
}
I never saw this message before. what does it mean?