The Site is Telling Me I Need to Remember to Disable the btn After a Post is Entered


var main = function(){
var post = $('.status-box').val();

  • ').text(post).prependTo('.posts');
           var postLength = $(this).val().length;
           var charactersLeft = 140 - postLength;
           if(charactersLeft < 0){
           else if(charactersLeft == 140){
           else {



    The bold text is where im stumped. the site is telling me i need to remember to disable the btn after a post is entered. This is exactly what i found was the answer. Its still not working!!! im lost as what i need to do.

  • 8/9: need help! sending out an sos! Disabled 2


    Have a close look at



    i forgot the period. $('.btn').addClass('disabled');


    This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.