WordPress.org

Support

Support » Themes and Templates » [Resolved] [P2 Theme] Error in p2/js/p2.js

[Resolved] [P2 Theme] Error in p2/js/p2.js

  • Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
    Timestamp: Fri, 5 Aug 2011 09:10:24 UTC

    Message: Object doesn’t support this property or method
    Line: 281
    Char: 2
    Code: 0
    URI: http://localhost/wp/wp-content/themes/p2/js/p2.js?ver=20110712

    Using:
    Wordpress version 3.1.3
    P2 1.3.2

    I think the mistake is to run .prop():

    var post_subscribe = ( $(‘#post_subscribe’).prop(‘checked’) ) ? ‘post_subscribe’ : ‘false’;
    .
    .
    thisFormElements.prop(‘disabled’, true);
    .
    .

    How can we fix this error, without commenting the lines: D?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [P2 Theme] Error in p2/js/p2.js’ is closed to new replies.