Ticket #10604 (closed enhancement: wontfix)
$(...).html(object) should use its custom toString() method.
|Reported by:||jdalton||Owned by:|
I was messing around with $(...).html(....) and was surprised that it didn't use my object's custom toString() method.
You can see an example here: http://jsbin.com/uqazuk
Note: See TracTickets for help on using tickets.