|
|
|
ขอวิธี onClick= window.opener คลิกแล้วแสดงค่า 2 ฟิว |
|
|
|
|
|
|
|
Code (PHP)
<input name="txtKeyword1" type="text" id="txtKeyword1" value="<?=$objResult["txtKeyword1"];?>" size="30" maxlength="10" />
<input name="txtKeyword2" type="text" id="txtKeyword2" value="<?=$objResult["txtKeyword2"];?>" size="30" maxlength="10" />
<a href="#search" onClick="newwindow=window.open('search1.php','search1','height=400,width=700,left=10,top=100,scrollbars=1');newwindow.focus();"> เลือก</a>
Code (PHP)
<a href="#show" onclick="window.opener:document.form1.txtKeyword1.value='<?=$objResult["memberid"];?>';document.form1.txtKeyword2.value='<?=$objResult["contractid"];?>';window.close();" >เลือก</a>
|
|
|
|
|
Date :
2015-05-01 10:01:40 |
By :
panyaadd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|