invalid argument jquery.js
Webpage error details
Message: Invalid argument. Line: 116 Char: 165 Code: 0 URI: /wp-includes/js/jquery/jquery.js?ver=1.4.2
I've searched everyhwere for answers. I've finally determined that this error is being caused by the php called in this page: http://pittsburghweddingphotographer.whsites.net/wedding-pricing/
This error comes up in IE8 and not Firefox.
The availability script (php code) was given to me by a friend. I simply replaced my info with his.
Would someone please assist 开发者_如何学Cme in working this out? Feel free to talk down to me, I'm not even a novice.
Change the following code in photopro-scripts.js:
$(".footer-widgets-1 .widget:last").css({
borderBottom: 'none', paddingBottom: '0 !important', marginBottom: '0 !important'});
$(".footer-widgets-2 .widget:last").css({
borderBottom: 'none', paddingBottom: '0 !important', marginBottom: '0 !important'});
$(".footer-widgets-3 .widget:last").css({
borderBottom: 'none', paddingBottom: '0 !important', marginBottom: '0 !important'});
To this:
$(".footer-widgets-1 .widget:last").css({
'border-bottom' : 'none', 'padding-bottom' : '0 !important', 'margin-bottom' : '0 !important'});
$(".footer-widgets-2 .widget:last").css({
'border-bottom' : 'none', 'padding-bottom' : '0 !important', 'margin-bottom' : '0 !important'});
$(".footer-widgets-3 .widget:last").css({
'border-bottom' : 'none', 'padding-bottom' : '0 !important', 'margin-bottom' : '0 !important'});
When specifying the css properties this way they need to be in quotes and the property names were incorrect. Here is the jquery api doc link for .css() Jquery API
Let me know if this fixes it.
IE doesn't like that you are trying to set paddingBottom = '0 !important';
Take off the important; it shouldn't be needed since you are setting the padding directly on the element.
精彩评论