<script>
$(".box").bind("update",function(txt){
alert(txt);
});
$(".box").trigger("update","Test text");
</script>
<div class="box" style="width:100px;">Nothing to say</div>
I want: alert "Test text".
I get: alert "[object Object]"
What is wrong?