Utilize Custom Events in jQuery Using on() and trigger()
Handling client side DOM events such as click and keypress is a common task in the jQuery code. The DOM events are always bound to some or the other HTML element. However, there can be situations where you may need to flag some application specific behavior or event. Luckily, jQuery allows you to define your own events that can be raised from within your code. This article shows how jQuery's on() and trigger() methods can be used for the task just mentioned.
http://www.binaryintellect.net/articles/6028365f-dd72-406d-9f2d-b33f7e033c67.aspx