返回值: Stringevent.namespace
V1.4.3概述
当事件被触发时此属性包含指定的命名空间。
示例
描述:
确定事件在命名空间中使用。
 代码:
      <!DOCTYPE html>
  <html>
  <head>
    <script src="http://code.jquery.com/jquery-latest.min.js"></script>
  </head>
  <body>
      <button>display event.namespace</button>
  <p></p>
    <script>
  $("p").bind("test.something", function(event) {
    alert( event.namespace );  });
  $("button").click(function(event) {
    $("p").trigger("test.something");
  });
    </script>
    </body>
  </html>