Debugging JavaScript in the head when there is a very big problem,
outlet belstaff, is not similar to the PHP's var_dump () function, variables can be printed out on the data,
belstaff panther jacket, debug can only keep the document when. Write (), constant alert (). Can not stand,
belstaff jacket, the through google to find a very good JavaScript debugging method,
belstaff blouson, the current see is you can print Object / Array / Function / String four types, using methods and PHP in var_dump (),
belstaff online, as long as a direct dump (variable names) can be.
dump (value, [showTypes])
@ param value (Any) value to dump
@ param [showTypes] (Boolean) optional to display each key / value 's type
@ return (Void) returns nothing
download and describes the specific address,
belstaff jacken, look here
http://www.netgrow.com.au/files/javascript_dump.cfm