草庐IT

Property_Tree

全部标签

javascript - 尝试使用电子邮件进行身份验证时,我收到 "Uncaught TypeError: Cannot read property ' 值为 null 的错误。为什么?

我正在尝试使用电子邮件设置Firebase身份验证,但我点击登录按钮时出现此错误:users.js:15UncaughtTypeError:Cannotreadproperty'value'ofnull它还会将我带到另一个页面(点击登录按钮后的主页)。Here是指向有关如何设置身份验证的文档的链接。Javascript:varconfig={apiKey:"",authDomain:"",databaseURL:"",projectId:"",storageBucket:"",messagingSenderId:""};firebase.initializeApp(config);//

javascript - Angular 6 : ERROR TypeError: Cannot read property 'toLowerCase' of undefined

我正在创建关于用户的Angular六的CRUD应用程序,当我尝试添加新用户时出现以下错误:这是我得到的错误:core.js:12301ERRORTypeError:Cannotreadproperty'toLowerCase'ofundefinedatHttpXsrfInterceptor.push../node_modules/@angular/common/fesm5/http.js.HttpXsrfInterceptor.intercept(http.js:1718)atHttpInterceptorHandler.push../node_modules/@angular/com

javascript - 0x800a138f - JavaScript 运行时错误 : Unable to get property 'value' of undefined or null reference

我写了一个javascript代码来比较来自2个文本框的2个日期functionCompareDates(){varfdate=document.getElementById('txtFromDate');varedate=document.getElementById('txtToDate');varFromDate=fdate.value.split('/');varEndDate=edate.value.split('/');varval='false';if(parseInt(FromDate[2])html代码是问题是页面在chrome中运行良好,但是当我在IE中运行我的应用

javascript - 未捕获的类型错误 : Cannot read property "top" of null

我遇到了一个非常烦人的javascript错误。世界著名:uncaughtTypeError:Cannotreadproperty"top"ofnull代码如下:$(function(){varsetTitle=function(title,href){title='Derp:'+title;href=href||'';history.pushState({id:href},title,href.replace('#','/'));document.title=title;},scroll=function(url,speed){varhref=typeofurl=='string'?

html - 如何过滤 thymeleaf th :each using another property in comparison 中的集合

我正在尝试按照以下url中的示例使用Thymeleaf过滤集合。“集合的投影和选择”部分。http://doanduyhai.wordpress.com/2012/04/14/spring-mvc-part-iv-thymeleaf-advanced-usage/...但是我想使用另一个属性而不是固定值(true/false)。例如playedCountReq]}">...其中playedCountReq是Thymeleaf可用的另一个表单变量。我收到以下错误。在...类型的对象上找不到属性或字段“playedCountReq”我尝试了多种方法,但都没有成功。有什么建议吗?

html - 为什么我的转换 : scale() property move the image to the left?

我正在尝试制作一个使用CSS动画的图片库,但出现了一些奇怪的效果。我有一个较小的缩略图开始,当我将鼠标悬停在它上面时,我希望它缩放到两倍大小。该部分有效,但它也使它向左移动,并最终越过屏幕边缘。我应该怎么做才能修复它?.zoom{transition:1sease-in-out;}.zoom:hover{transform:scale(2);}ApaperplaneJSFIddleDemo 最佳答案 它没有向左移动。然而,左边的边缘在移动,右边也是。因为您的内容是左对齐的,所以它看起来向左移动。这个彩色演示很好地展示了这一点:.zo

jquery - bxslider 指令抛出错误 `Uncaught TypeError: Cannot read property ' indexOf' of undefined`

我在我的应用程序中使用angularjs,我在其中为bxslider创建了一个指令。下面是指令代码:angular.module('sbAdminApp').directive('bxSlider',function(){return{restrict:"A",require:"ngModel",link:function(scope,element,attrs,ctrl){element.ready(function(){$($(element[0])).bxSlider({maxSlides:1,auto:true,controls:false,pager:true});})}}}

javascript - 区域.js : 140 Uncaught TypeError: Cannot read property 'remove'

我是剑道用户界面的新手。我在我的fiddle中开发了原型(prototype)。删除确认窗口在那里工作正常。但是当我集成到我的代码库中时,我在行pai_to_delete.remove();处收到错误Cannotreadproperty'remove'你们能告诉我如何解决吗?在下面提供我的代码。已更新-可能是我没有正确解释你......当我点击一个链接时我的用户界面看起来如何打开一个带有网格的大弹出窗口......当我点击一个列时在那个网格中将打开一个带有删除选项的小弹出窗口...当我单击删除选项时,将打开一个确认窗口...-当我使用nativejs确认方法时它工作正常..我认为它的引

html - html中property属性的含义

我刚刚在其中一个网站上看到了用一些标签定义的property属性。例如:-100我在网上搜索过,但至少在w3schools上没有这样的属性。谁能告诉我它的作用是什么。我正在尝试运行一个简单的html代码,但我不明白它的重要性。谁能解释一下? 最佳答案 property是一个RDFa属性。你所看到的可能与此有关。参见http://www.w3.org/2010/02/rdfa/sources/rdfa-lite/2.1节词汇、typeof和属性 关于html-html中property属性

html - [null] 中未定义的错误 _renderer.setElementStyle "Cannot set property ' 背景颜色'

我正在udemy学习angular2angular2的类(class),老师写了一个突出显示html元素的指令。我试图像休闲一样做,但对我来说_renderer.setElementStyle抛出异常。EXCEPTION:TypeError:Cannotsetproperty'background-color'ofundefinedin[null]指令:import{Directive,ElementRef,Renderer,OnInit}from'angular2/core';@Directive({selector:'[highlight-directive]'})exportcl