この電話をかけるときにどうすればいいですか
client.notification("test", "test", function(){
alert("Hello world");
});
「client.notification」で function(){....} 内のものを呼び出すことができますか?
元。
var client = ({"notification" : function(a,b,c){
document.write(a + b);
if ( .... ) {
//call the alert stuff from the function "c"
}
});
私はこれを試しました:
$('#notification').click(eval(c));
運がなければ