2015-09-16 42 views

回答

2

this是匿名函數處理程序中document.ready(handler)

嘗試使用Function.prototype.bind()設置this$(".slim-column input:first").ready()

$(document).ready(hideOrShowInputs.bind($(".slim-column input:first"))); 

的jsfiddle https://jsfiddle.net/nvfs5c0r/14/

相關問題