JSLint says “missing radix parameter”

It always a good practice to pass radix with parseInt – parseInt(string, radix) For decimal – parseInt(id.substring(id.length – 1), 10) If the radix parameter is omitted, JavaScript assumes the following: If the string begins with “0x”, the radix is 16 (hexadecimal) If the string begins with “0”, the radix is 8 (octal). This feature is … Read more

JSLint is suddenly reporting: Use the function form of “use strict”

Include ‘use strict’; as the first statement in a wrapping function, so it only affects that function. This prevents problems when concatenating scripts that aren’t strict. See Douglas Crockford’s latest blog post Strict Mode Is Coming To Town. Example from that post: (function () { ‘use strict’; // this function is strict… }()); (function () … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)