方法一、
function
GetCode(event)
{
alert(event.data.foo);
}
|
|
$(document).ready(
function
()
{
$(
"#summary"
).bind(
"click"
, {foo:
'abc'
} ,GetCode);
});
方法二、
函数句柄
/**
|