1
디지털 전화 디렉터리가있는 페이지로 작업하고 있습니다. 이름과 번호가 나열되어 있지만 이름을 클릭 할 때 팝업에 표시 할 항목에 대한 자세한 내용을 원합니다. 불행히도 Javascript에 문제가 있습니다. 필자는이 언어에 익숙하지 않지만 선언 한 함수 내의 코드가 잘못되었거나 전달중인 인수의 구문이 잘못되었거나 코드의 필수 부분을 생략했다고 생각합니다. 이 문제에 관해 귀하가 제공 할 수있는 도움이 있으면 대단히 감사하겠습니다.하이퍼 링크에서 Javascript 함수 호출
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<script>
Function DisplayContactDetail(contact, windowname) {
window.open(contact, windowname);
}
</script>
<title>Cigna Security & Reception Phone Directory</title>
</head>
<body>
<div class="centerelement">
<div id="indexpageheader">
CIGNA SECURITY & RECEPTION DIGITAL PHONE DIRECTORY
</div>
</div>
<table>
<th colspan=2 width="auto">
ALLIEDBARTON
</th>
<tr>
<td width="50%">
<a href="" onclick="DisplayContactDetail('cigna.com','ContactDetail')">
NEPA District Office
</a>
</td>
<td>(610) 954-8590</td>
</tr>
<tr>
<td width="50%">Post Watch</td>
<td>(800) 643-8714</td>
</tr>
</table>
미리 감사드립니다.
그래서 문제가 무엇입니까? 아무 반응이 없습니다? 예기치 않은 결과가 나옵니까? 오류가 발생합니까? – Teemu
하이퍼 링크를 클릭해도 아무런 변화가 없습니다. –