Hi Guys,
Good day!
I've added a little code to hide or show javascript on one of my basic forms in power pages, but the problem here is that it only detect the javascript once.
This is the source code I have, the alert function is working and if I did not set any value to my dropdown, it hides the other label but when I change it to yes, it just does not do anything anymore.
Anyone can help a fellow newbie out? Thank you.!
var varManuf = $('#cr6bb_navisiondropdown').find("option:selected").text();
alert(varManuf)
if (varManuf === "Yes") {
$('#cr6bb_purchaselimit').parent().parent().show();
}
else {
$('#cr6bb_purchaselimit').parent().parent().hide();
}