Use a "closure":
$(edit_link).click(function(){ return changeViewMode(myvar); });
This creates an anonymous temporary function wrapper that knows about the parameter and passes it to the actual callback implementation.
$(edit_link).click(function(){ return changeViewMode(myvar); });
https://superuser.com/questions/590600/ufw-is-active-but-not-enabled-why etting ENABLED=yes in /etc/ufw/ufw.conf did it for me. $ sudo ...
Không có nhận xét nào:
Đăng nhận xét