$(document).ready(function(){
$("#select1,#select2,#select3").change(function(){
$(this).find("option:selected").each(function(){
var optionValue = $(this).attr("value");
if(optionValue){
$(".box").not("." + optionValue).hide();
$("." + optionValue).show();
} else{
$(".box").hide();
}
});
}).change();
});
i want to add this abode jquery code into angularjs code like directive services or anyone
pleas help
or convert this jqury code into angularjs
Steven ClarkPosted Aug 30, 2019, 6:29 AM
adil dosaniPosted Feb 6, 2018, 12:47 AM
Bala SPosted Feb 6, 2018, 12:39 AM