- function changeQuan() {
- $(this).parent().parent().text("lel");
- alert($(this).parent().parent().text());
- }
The alertbox itself shows up, but there's nothing inside. When alerting without .text() it returns an object, so I guess this should work, but it doesn't.