Executing jQuery code on Project Server 2010 RRS feed

  • Question

  • Hello,
    I am trying to limit the length of the "Project Notes" Custom Field in Project Details Page (PDP) using Project Server 2010.
    I am using the following jQuery in a Content Editor Web Part added to the PDP:
    <script src="" type="text/javascript"></script>    
                 var textArea = $("textarea[title$='Project Notes']");
                    var text = textArea.text();
                    if(text.length > 10)
                         alert("Project Notes cannot exceed 100 characters in length.");

    However, when the user types into the text area nothing is happening.The event does not fire. I have tried various modifications to the code but the same result.
    Please let me know what I am missing.

    Thank you.
    Sunday, March 3, 2013 11:04 AM

All replies