Combine a "call user-supplied javascript call back" and "put output in dynamic container"

Hello,

I'd like to use the ajax features of PP to get 2 kinds of result:

1. display an html table in a new tab

2. fill a textbox in another tab

The point is this 2 operations are based on the same query that can be long, but at the moment I was using the "call user-supplied javascript call back" to feed the textbox and the "put output in dynamic container" to display my table.

Is it possible to that in once?

Thanks

florent