Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Latest commit

 

History

History
15 lines (14 loc) · 253 Bytes

README.md

File metadata and controls

15 lines (14 loc) · 253 Bytes

jQuery.dump

The result will be equivalent to the PHP function print_r.

echo '<pre>' . print_r($data) . '</pre>';

USAGE:

<script>
	var data = [{'id':1,'name':'hello'},'world'];
	$('#element').dump(data);
</script>