javascript - usage of external css in ui binder to greyout the particular div at time of submitting the form -


i want grey out particular portion of div during button click event. if have passed value in 2 textboxes , clicked button submitting value database @ time screen should grey out widgets in disable mode.

i want done in ui binder of css,javascript

try this

$("#divid1").click(function(event){     $("#someportiondivid2").css("background-color",'#ccc');  }); 

in case:

$("#submitid").click(function(event){     $("#textbox1").prop('disabled', true);   $("#textbox2").prop('disabled', true);  }); 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -