I am not really familiar with jQuery. I have this code that I downloaded to create a fade in/fade out popup form. Here\'s the code:
I have solution for this problem
$(document).ready(function () {
$("#btnSubmit,#btnSubmitbuttom").click(function () {
var rfp = true;
var count = 0;
var lbxBD_Role = $("#lbxBD_Role option:selected").val();
if (lbxBD_Role == "" || lbxBD_Role == undefined) {
$("#lblBD_Role").attr("style", "visibility: visible");
$("#lblBD_Role").attr("style", "color: red");
$("#lblBD_Role").html('* Required');
count++;
}
});
});