I am using a trigger call a get a value from custom event but I want it to return a value and its only giving me Object Object when I do the following call:
var
A trigger cannot return a response, because it's a callback method.
In addition jQuery have a fluid API, so .trigger() returns always $(this). You can write $("#my_id").trigger(something).show().on(someelse)...
.trigger()
$(this)
$("#my_id").trigger(something).show().on(someelse)...