Skip to content

Instantly share code, notes, and snippets.

jQuery.parseJSON = (function(parse) {
var datePattern = /^\/Date\((\d+)\)\/$/;
return function(data) {
var value = parse(data);
parseDates(value);
return value;
}
function parseDates(obj) {
for (var k in obj) {
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script>
$().ready(function () {
//48=numneros(0) ,minusculas =97(a), maiusculas=65(A)
//$("a").click(function(){alert("2")});
eval( function(f,a,k,e)
{
do
k=k.replace(new RegExp('\\b'+String.fromCharCode(f)+'\\b','g'),e[f-65])