1
Q
为什么不工作
A
回答
2
jQuery绑定将函数指针作为第二个参数。因为在你的榜样,你调用函数checkParams和使用返回值 绑定到上单击事件,您应该使用
$("#imgSaveComment").bind("click",checkParams);
。
1
你错过了ID为 “imgSaveComment” 的元素,你不需要在.bind
.bind("click",checkParams);
功能部件使用()
相关问题
- 1. 为什么不CGPathIsRect工作?为什么CGPathContainsPoint不工作?
- 2. 为什么不工作
- 3. 为什么WAMP不工作?
- 4. 为什么history.pushState不工作?
- 5. 为什么不addClass工作
- 6. 为什么scrollTop不工作?
- 7. 为什么:不工作?
- 8. 为什么PathFileExists()不工作?
- 9. mozRequestFullScreen();不工作。为什么?
- 10. 为什么PNP4Nagios不工作
- 11. 为什么element.Text =不工作
- 12. textFieldBeginEditing不工作 - 为什么?
- 13. 为什么socket.sendall()不工作?
- 14. 为什么不工作
- 15. 为什么不工作
- 16. 为什么AlarmMAnager不工作?
- 17. 为什么不工作?
- 18. 为什么AuthorizationExecuteWithPrivileges不工作
- 19. JQuery不工作,为什么?
- 20. 为什么不工作
- 21. 为什么ToolboxBitmapAttribute不工作?
- 22. countDownTimer不工作,为什么?
- 23. 为什么'源'不工作?
- 24. 为什么GetProcAddress()不工作?
- 25. 为什么不“chrome.bookmarks.getTree”工作?
- 26. 为什么不工作jQuery?
- 27. 为什么不jQuery工作?
- 28. 为什么ArrayList.remove不工作
- 29. 为什么document.cookie不工作
- 30. 为什么globals()不工作