Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- var a = "<?php echo $cbonom['tipopost'];?>";
- var b = document.getElementById("adjuntarCultura");
- var c = document.getElementById("adjuntarDeporte");
- if (a == "15") {
- b.style.display = "";
- }elseif (a == "16"){
- c.style.display = "";
- }
- });
Add Comment
Please, Sign In to add comment