[英]In ie8 jquery error(The value of the property '$' is null or undefined, not a Function object)
[英]var elementUid = jQuery(this).find(“input”).attr(“value”); 'undefined' is null or not an object @IE8
你能幫我么?
在IE10 / FF / Chrome中,它的工作方式像一個超級按鈕,但在IE8中,此行:
var elementUid = jQuery(this).find("input").attr("value");
我收到錯誤: “未定義”為null或不是對象
謝謝!
問題出在我更換后的事件加載中
$(document).ready(function ()
與
$(window).load(function ()
變量被核心地加載。
感謝您的支持和幫助!
可能有用。
var elementUid = jQuery(this).find("input").prop("value");
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.