Sorry ... here is the proper cross browser version:

 if (
("undefined" !== typeof JSON)
&&
(JSON.stringify(document.createElement("input").value)!== "" )
)
{
   var _stringify = JSON.stringify;
      JSON.stringify = function(o, f, s){
           return _stringify(o === "" ? "" : o , f, s);
      }
}


--DBJ
-- 
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.


Reply via email to