Forums

[resolved] [P2 Theme] Error in p2/js/p2.js (3 posts)

  1. oleksis
    Member
    Posted 10 months ago #

    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

  2. Lance Willett
    Theme Wrangler
    Posted 9 months ago #

  3. oleksis
    Member
    Posted 9 months ago #

    [RESOLVED]

    Thanks for the quick response and good links
    You can fix as you say or upgrade WordPress 3.1.3 to 3.2.1

    Regards

Reply

You must log in to post.

About this Topic

Tags