Ever since I found out about the new hash syntax you can use in ruby 1.9, and how similar that syntax is to JSON, I've been waiting for someone to realise you can just abuse eval() for parsing (some) JSON now.
Tagged with javascript
Abusing Ruby 1.9 & JSON for fun
- 2011-02-07 19:16:58
Quantum Javascript Bug
- 2009-06-04 15:12:24
So I've got some js I've written to update a couple of <select> lists in a form, and it was all working fine for me (under Safari.) John happened to mention it wasn't working for him under Firefox, so I fired up Firefox and took a look. Could reproduce it perfectly, changing the first popup was populating the second one, ...