โต

Tue 18 Jul 2006 13:55:08
Tue 18 Jul 2006 13:55:08
ขอรบกวนถามคำสั่งที่ใช้รีเฟรช ในกรณีที่คลิกปุ่มที่เฟรมขวาแล้วไปรีเฟรชที่เฟรมซ้าย ขอขอบคุณครับ
ก่อนอื่นคุณต้องทำการตั้งชื่อ (id) ให้กับ element ครับ ในที่นี้ผมให้ชื่อ frame ซ้ายชื่อ leftFrame
ใส่ event onclick ลงในปุ่ม
<input type="button" value="Refresh" onclick="parent.leftFrame.document.location.href=parent.leftFrame.document.location.href;">
ประมาณนี้ครับ
ใส่ event onclick ลงในปุ่ม
<input type="button" value="Refresh" onclick="parent.leftFrame.document.location.href=parent.leftFrame.document.location.href;">
ประมาณนี้ครับ

















