jQuery.Model.static.publish  function     

If OpenAjax is available, publishes to OpenAjax.hub. Always adds the shortName.event.

// publishes contact.completed
Namespace.Contact.publish("completed",contact);
$.Model.publish(event, data) -> undefined
{String}

The event name to publish

{Object}

The data to publish

{undefined}
© Jupiter IT - JavaScriptMVC Training and Support