$( SELECTOR_FOR_TEXTBOX ).val( "CanJS is cool" ).trigger( "change" );
But I can't guarantee that every piece of code is going to do that. And if I am listening for the "change" event on the textbox to know if it has been updated, then there is the opportunity for the textbox to be changed, and I won't know about it.
Candidate for jQuery++?
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic