trigger a bootstrap modal show event

trigger a bootstrap modal show event

I'm gonna pass some params to a bootstrap modal "show" event handler while showing the modal, so gonna use 
      $("#mymodal").trigger("show.bs.modal",[param1,param2]) i
nstead of using default $("#mymodal").modal("show"), 
the handler is triggered, but the modal does not displayed finally.

what's the trick?