0
나는 JS 링크에 문제가 발생자바 스크립트 링크로 Joomla에서 작동하지
내가 코드는 실제로 링크가있는 다음 코드
window.addEvent('domready', function() {
$('province_aw').addEvent('change', function() {
var index = this.options[this.selectedIndex].value;
var b = document.getElementById("choice_2").value;
var link = "index.php?option=com_chronoforms&chronoform=listSpecific-3&id_province="+index+"&id_ch="+b;
document.getElementById('link1').href = "index.php?option=com_chronoforms&chronoform=listSpecific-3&id_province="+index+"&id_ch="+b;
});
});
변화하고있다
<a class="jcepopup" id="link1" href="" rel="{handler:'iframe'}"> <input type='button' name='prueba' id='prueba' value='...' /> </a>
< a> 태그의 링크를 클릭하면 아무 것도 나타나지 않고 원래 href (홈페이지)로 계속 전송됩니다. 감사합니다
Tsikon 방금 < a > 태그에서 제안을 사용했습니다. 그러나 효과가 없어도 링크를 계속 변경하지만 클릭하면 아무 일도 발생하지 않습니다. 감사합니다 –
Brandon
index.php에 링크하여 홈페이지에 링크하지 않습니까? – Tsikon
아니요, 별도의 탭에서 생성하는 링크를 시도 할 때 실제로 작동하지만로드 할 때 그렇지 않습니다. – Brandon