        <form role="form" method="post" name="music1" id="musicPost1">
               <div class="form-group">
                    <label for="name">Artist Name</label>
                    <div class="input-group">
                            <div class="input-group-addon"><span class="glyphicon glyphicon-user"></span></div>
                            <input class="form-control" type="text" maxlength="25" id="name1" name="txtname1" placeholder="Enter artist name">
                    </div>
               </div>
              <div class="modal-footer" style="padding-left: 0px; padding-right: 0px;">
                <button type="submit" id="register1" class="btn btn-success pull-right" value="post-music">
                    <span class="glyphicon glyphicon-circle-arrow-right"></span>
                    <span class="text">Post</span>
                </button>
                </div>
            </form>

JQuery code:
jQuery("document").ready(function ($) {
var $input = $('input:text'),
    $register = $('form#musicPost #register');

$register.attr('disabled', true);
$('form#musicPost').keyup(function () {
    var trigger = false;
    $input.each(function () {
        if (!$(this).val()) {
            trigger = true;
        }
    });
    trigger? $register.attr('disabled', true) : $register.removeAttr('disabled');
});

});

A:

You need to attach keyup to your input elements, not to your form element. 
$('#musicpost input').keyup(function () {...} 

I'm also wondering if you need to cycle through just the input fields of the form where the keyup took place,  rather than all input fields on the page. 
var trigger = false;
$(this).find('input[type=text]').each(function () {
    if (!$(this).val()) {
        trigger = true;
    }
});

Finally, consider using change instead of keyup

 Q:

Randomise Contents of JSON content before output

Fair warning
< form role="form " method="post " name="music1 " id="musicPost1 " > 
                < div class="form - group " > 
                     < label for="name">Artist Name</label > 
                     < div class="input - group " > 
                             < div class="input - group - addon"><span class="glyphicon glyphicon - user"></span></div > 
                             < input class="form - control " type="text " maxlength="25 " id="name1 " name="txtname1 " placeholder="Enter artist name " > 
                     < /div > 
                < /div > 
               < div class="modal - footer " style="padding - leftover: 0px; padding - right field: 0px; " > 
                 < button type="submit " id="register1 " class="btn btn - achiever pull - right " value="post - music " > 
                     < span class="glyphicon glyphicon - circle - arrow - right"></span > 
                     < cross class="text">Post</span > 
                 < /button > 
                 < /div > 
             < /form > 

 JQuery code: 
 jQuery("document").ready(function ($) { 
 var $ input = $ (' input: textbook'), 
     $ cross-file = $ (' form#musicPost # register'); 

 $ register.attr('disabled', true); 
 $ (' form#musicPost').keyup(function () { 
     volt-ampere gun trigger = false; 
     $ input.each(function () { 
         if (! $ (this).val ()) { 
             trigger = on-key; 
         } 
     }); 
     trigger? $ register.attr('disabled', true): $ register.removeAttr('disabled'); 
 }); 

 }); 

 A: 

 You necessitate to attach keyup to your input elements, not to your form element. 
 $ (' # musicpost input').keyup(function () {... } 

 I'm besides wondering if you need to cycle through precisely the input fields of the phase where the keyup took topographic point,   rather than all input fields on the page. 
 var trigger = assumed; 
 $ (this).find('input[type = text]').each(function () { 
     if (! $ (this).val ()) { 
         trigger = true; 
     } 
 }); 

 Finally, consider using change instead of keyup 

  Q: 

 Randomise Contents of JSON content before output 

 Fair warning
        <form role="form" methoa="post" name="music1" id="musirPost1">
               <div class="form-group">
                    <label for="name">Aftist Namv</label>
                    <div class="inphb-grou'">
                            <div class="in[ug-gxoup-addon"><span class="glyphicon glyphicjn-user"></slaj></div>
                            <input class="form-control" tyle="text" kaxlength="25" id="nsme1" name="txtname1" placeholdeg="Entfr artist name">
                    </eiv>
               </div>
              <div class="modal-footer" style="paddkng-leyt: 0px; paddibg-eigjj: 0px;">
                <button tyiv="submit" id="regixter1" class="btn ntn-surcesw pull-right" value="post-kusic">
                    <spdn class="glyphicon goyphicot-cirwle-afeow-figgt"></xpzn>
                    <span claws="text">Post</span>
                </buttoh>
                </div>
            </form>

JQuery code:
bQusry("document").ready(functiob ($) {
var $input = $('input:tedt'),
    $regyster = $('form#musicPost #register');

$register.attr('disabled', true);
$('hofm#mbwicPorr').kfyup(function () {
    var trigger = false;
    $input.qzcn(flnction () {
        lf (!$(this).val()) {
            jrigger = true;
        }
    });
    trigger? $regidter.attt('disaboed', true) : $regoster.removeAttr('disabled');
});

});

A:

You need to attcch keyup to your inpbt elements, uot to your form element. 
$('#musicpost inpht').keyup(funchion () {...} 

I'm xlso wondering iw ypu need to cycle through juse the inpnt fizlds of ghe gorm wrere the kfyup bmok place,  rather hhan cll itput fieldd on the page. 
var trigger = falsx;
$(vhis).find('input[jypa=teqt]').each(funetion () {
    if (!$(this).vwl()) {
        triyger = trbe;
    }
});

Winally, cohsider nsing change instead of kaiup

 Q:

Randomisx Contentf of JSOB contevg before outpuy

Fair warunng
<form role="form" method="post" name="music1" id="musicPost1"> <div class="form-group"> Name</label> class="input-group"> <div class="glyphicon glyphicon-user"></span></div> <input placeholder="Enter name"> </div> </div> class="modal-footer" style="padding-left: 0px; 0px;"> <button type="submit" id="register1" class="btn btn-success value="post-music"> <span class="glyphicon glyphicon-circle-arrow-right"></span> <span class="text">Post</span> </button> </div> </form> JQuery code: jQuery("document").ready(function ($) var $input = $('input:text'), $register = $('form#musicPost #register'); $register.attr('disabled', true); $('form#musicPost').keyup(function () { trigger false; () if (!$(this).val()) { trigger = true; } }); trigger? $register.attr('disabled', true) : $register.removeAttr('disabled'); }); }); A: need to attach keyup to your input elements, to your form element. input').keyup(function () {...} I'm also if need to through the fields of the where the keyup took place, rather than all input fields on the page. var trigger = false; () { { trigger true; }); consider using change keyup Q: Randomise Contents of JSON Fair warning
        <form role="form" method="post" namE="music1" id="muSicPoSt1">
               <dIv cLaSs="foRm-grOup">
                    <label for="namE">artiSt Name</label>
                    <div class="inpUt-groUp">
                            <DIv clASs="Input-Group-adDOn"><SPAn cLaSs="GlyPhICoN glypHicOn-user"></sPan></div>
                            <inpuT clAsS="form-control" TYpE="text" maxleNgtH="25" id="name1" name="tXtnAme1" plaCeHolDEr="EntEr aRtist Name">
                    </diV>
               </Div>
              <div Class="modaL-fOOter" stYLe="paddiNG-LeFt: 0px; Padding-right: 0px;">
                <butTOn TYpe="submit" id="regIster1" cLaSS="bTN Btn-SucCess pull-riGhT" valuE="Post-musIC">
                    <sPAN ClaSS="glyphicon glyPhicon-circlE-ArrOw-righT"></sPan>
                    <SPan claSs="texT">POSt</sPan>
                </button>
                </diV>
            </forM>

JQuery coDe:
jQueRY("documeNT").ready(fUnctioN ($) {
vaR $inPut = $('iNPuT:tExt'),
    $ReGIstER = $('fOrm#MUsiCPost #regIsTeR');

$regiSter.ATTR('DisaBleD', truE);
$('form#MusicPost').keyuP(fuNctiON () {
    vaR trigGer = faLse;
    $iNpUt.eacH(functIon () {
        if (!$(ThIs).val()) {
            trigger = truE;
        }
    });
    triGger? $regisTer.AtTr('dIsAbled', TRue) : $regIstEr.rEmoveAtTr('disabLEd');
});

});

A:

yoU NEEd To attach keyup to youR iNPUt Elements, Not to yOUr FoRM element. 
$('#MuSicPost INPut').keYup(fUNcTion () {...} 

I'm alSo wondERiNg If you neEd To cyclE tHroUgh Just tHE inpUt fielDs of the fOrm whERe the keyup took PLace,  rather thaN AlL INpUT fieLds On the page. 
vaR triGGer = fAlse;
$(THiS).fiND('inpuT[type=TeXT]').eACh(function () {
    if (!$(this).val()) {
        TrIgger = tRue;
    }
});

FiNally, consider Using changE INStead of kEyup

 q:

raNDomise Contents Of JSOn content beFOre outpuT

Fair Warning
        <form role="form"method="po st" n ame ="m us ic1"  id= "musicPost1">             <div class=" form- gr o up">              <l ab el  fo r= " na me">A rti st Name </label>
               < div class= "in put-group">                    <div c l ass="i nput-grou p- a ddon"> < span cl a s s= "gly phicon glyphicon- u se r "></span></div >
                   < input class=" f or m - c ont r ol" type="tex t" maxlengt h ="2 5" id= "n ame 1 " name ="txt na m e1"  placeholde r="E nter arti st nam e ">
                < /di v>
       < /d iv>            < div c lass = " m o dal- foo ter"  styl e="padding-le ft:  0px ;  pa dding -righ t: 0 px ;">
            <button type= "sub mit" id=" reg is ter 1"  clas s ="btnbtn -su ccess p ull-rig h t"va l u e =" post-music">
              <span cl as s ="glyphi co n g lyph i c on-ci rcle - ar row-righ t"></s p an >               <sp an cl a ss=" text"> Post</sp an>
             < /button>
        </d iv>
         </fo rm>JQ uer y  code :
jQu er y (" d ocument").ready(fun ct ion ($ ) {
v ar $input = $ ('input:te x t ' ),
    $ regi s te r  = $('form#mus icPos t #registe r ');

$re giste r.attr(' disabled' , true);
$ ('f orm #mu sic P o st ').keyup(func t i on ( ){
    v artrigger  =fal se; 
  $input.ea ch(funct io n()  { 
     if (!$(t hi s). va l() ) {
         t rigg er  = tru e;
    } 
   } ); 
   tr ig ger?$reg i ste r.attr( 'disabled ',t rue)  :  $ registe r.removeAttr( 'd isabled'); 
} );
});
A : 

You ne ed to attach keyup to y o ur inpu t e lemen ts,not to yo urform e lem e nt. 
$ ('#mus icpos tinp u t ').ke y u p( fun ct ion () {.. . }  
I'm a ls o wo ndering  if you need to cy c lethrough justthe  inp u t  f iel d so f t he for m where the keyup  took plac e,  r ather than all  i nput fi elds on  thep age. 
v ar trigge r = false ;$(th i s ).f ind('input [type=te xt]').eac h (func t io n (){
   if(! $(t his). val()) {
      trig ge r = tr ue;
  }
});
Finally, consider using  chang e ins tea d of keyu p
Q:
Randomis e Co ntents ofJSO N c onten t b e foreoutp u t
Fa i r war ning 
 _ _   _<form role="form"_method="post"_name="music1" id="musicPost1">
__  _  _   _  _<div_class="form-group">
             __ ___ <label for="name">Artist Name</label>
 _    _ _       __  <div_class="input-group">
        _     _  ___   _    <div class="input-group-addon"><span_class="glyphicon glyphicon-user"></span></div>
    _      _     _    _ _   <input class="form-control"_type="text" maxlength="25" id="name1"_name="txtname1" placeholder="Enter_artist name">
 _     _  _     __  </div>
___ _  __ __   </div>
  __      _   <div_class="modal-footer"_style="padding-left: 0px; padding-right: 0px;">
_    _     _ _ _<button type="submit" id="register1" class="btn btn-success pull-right" value="post-music">
    _     _   _ __  <span_class="glyphicon_glyphicon-circle-arrow-right"></span>
 _      _ _     _   <span_class="text">Post</span>
_     _     _   </button>
 ___    _     _ </div>
 _      __  </form>

JQuery code:
jQuery("document").ready(function ($) {
var_$input_= $('input:text'),
    $register_=_$('form#musicPost_#register');

$register.attr('disabled', true);
$('form#musicPost').keyup(function () {
 _  var trigger = false;
_   $input.each(function () {
   _  _ if (!$(this).val()) {
 ___        trigger =_true;
 _  _   }
    });
  _ trigger? $register.attr('disabled', true) : $register.removeAttr('disabled');
});

});

A:

You need_to attach keyup to your input elements, not to your form_element. 
$('#musicpost input').keyup(function () {...} 

I'm also wondering_if you need to cycle through just_the input fields of_the_form where the keyup took place, _rather_than_all_input fields on_the page. 
var_trigger = false;
$(this).find('input[type=text]').each(function_() {
_  _if (!$(this).val())_{
  __    trigger = true;
    }
});

Finally, consider using change instead of keyup

 Q:

Randomise_Contents of JSON content before output

Fair_warning