Forums
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
"null" is null or not an object
Author |
Message |
rulernature
Joined: Tue Nov 29, 2011 1:26 am Posts: 38
|
 "null" is null or not an object
Hello fellows, I use pie.js library for my project and till now it works fine but I realized that on ie every time I receive this error "null" is null or not an object. How do I treat this error because is annoying, position and z-index not missing from my css for each element where I use pie js.
If anyone can help, thank you.
|
Fri Dec 16, 2011 7:37 am |
|
 |
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1452
|
 Re: "null" is null or not an object
You'll have to provide more details. A URL to a site demonstrating the problem would be ideal.
|
Fri Dec 16, 2011 9:50 am |
|
 |
rulernature
Joined: Tue Nov 29, 2011 1:26 am Posts: 38
|
 Re: "null" is null or not an object
I tried to make a debug and saw that code below has some problems, in fact last line: "return s.....". If comment that line css3 is not applied anymore. /** * Get the raw CSS value for the target style * @return {string} */ getCss: cacheWhenLocked( function() { var el = this.targetElement, ctor = this.constructor, s = el.style, cs = el.currentStyle, cssProp = this.cssProperty, styleProp = this.styleProperty, prefixedCssProp = ctor._prefixedCssProp || ( ctor._prefixedCssProp = PIE.CSS_PREFIX + cssProp ), prefixedStyleProp = ctor._prefixedStyleProp || ( ctor._prefixedStyleProp = PIE.STYLE_PREFIX + styleProp.charAt(0).toUpperCase() + styleProp.substring(1) ); return s[ prefixedStyleProp ] || cs.getAttribute( prefixedCssProp ) || s[ styleProp ] || cs.getAttribute( cssProp ); } ),
I will return with a link. I forgot to tell you that this happens only inside of wicket modal windows of my projects, hear us soon.
|
Thu Dec 22, 2011 1:38 am |
|
 |
rulernature
Joined: Tue Nov 29, 2011 1:26 am Posts: 38
|
 Re: "null" is null or not an object
I've sent you an email with a java project. If you run localhost for that project with IE8 on debug mode the error will be generated when the modal window is closed.
|
Mon Jan 09, 2012 12:27 am |
|
 |
Daniel1990
Joined: Fri Apr 13, 2012 1:59 am Posts: 3
|
 Re: "null" is null or not an object
Hello guys. I have the same problem in a project i'm working on. So if someone has a solution for this problem, please post it.
with best regards
|
Fri Apr 13, 2012 2:02 am |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|