0
Comment puis-je faire alors quand je fais cet appelAppelez la fonction javascript de l'appel?
client.notification("test", "test", function(){
alert("Hello world");
});
Je peux appeler les choses à l'intérieur de la fonction() {....} dans « client.notification »?
ex.
var client = ({"notification" : function(a,b,c){
document.write(a + b);
if (....) {
//call the alert stuff from the function "c"
}
});
J'ai essayé ceci:
$('#notification').click(eval(c));
sans chance
Comme toute autre fonction. 'c()' – JJJ
Merci, poster comme réponse. –