 |
ช่วยดูอาการนี้ให้หน่อยครับ runอยู่ดีๆ มันขึ้น POPUP มาเอง...เลย และมันแจ้ง ว่า............... |
|
 |
|
|
 |
 |
|
ใช้ Library ตัวไหนครับ
|
 |
 |
 |
 |
Date :
2012-04-20 14:10:33 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
echo ธรรมดาเลยครับพี่วิน
แต่เป็นการ connect แบบ ODBC + Linkserver ครับ
|
 |
 |
 |
 |
Date :
2012-04-20 14:16:48 |
By :
time.toon |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
อ้อ...พี่วินครับ...ตรงนี้ครับเป็น java ครับ
Code (JavaScript)
var _that = this;
return this.each(function()
{
var i=0, iLen, j, jLen, k, kLen;
/* Check to see if we are re-initialising a table */
for ( i=0, iLen=_aoSettings.length ; i<iLen ; i++ )
{
/* Base check on table node */
if ( _aoSettings[i].nTable == this )
{
if ( typeof oInit == 'undefined' ||
( typeof oInit.bRetrieve != 'undefined' && oInit.bRetrieve === true ) )
{
return _aoSettings[i].oInstance;
}
else if ( typeof oInit.bDestroy != 'undefined' && oInit.bDestroy === true )
{
_aoSettings[i].oInstance.fnDestroy();
break;
}
else
{
_fnLog( _aoSettings[i], 0, "Cannot reinitialise DataTable.\n\n"+
"To retrieve the DataTables object for this table, please pass either no arguments "+
"to the dataTable() function, or set bRetrieve to true. Alternatively, to destory "+
"the old table and create a new one, set bDestroy to true (note that a lot of "+
"changes to the configuration can be made through the API which is usually much "+
"faster)." );
return;
}
}
แต่ผมไม่รู้เรื่อง java เลยครับ
|
 |
 |
 |
 |
Date :
2012-04-20 15:04:53 |
By :
time.toon |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ที่ alert ทุกครั้งเนี่ยเป็น warning ที่เขียนขึ้นเองเหรอครับ
งั้นต้องไล่โปรเซสดูล่ะครับ
|
 |
 |
 |
 |
Date :
2012-04-20 15:08:48 |
By :
sakuraei |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ไล่ยากครับ เพราะไม่รู้ว่าใช้ AJAX / JQuery เฟรมเวิร์คตัวไหน
เท่าที่เดาน่ะครับ คงจะเป็นการเรียกสคริปท์ <script ...></script> ที่ซ้ำกันจาก การใช้ include ไฟล์ในหน้านี้
|
 |
 |
 |
 |
Date :
2012-04-20 15:19:23 |
By :
sakuraei |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
แค่เปลี่ยนโค้ด connect dbs เท่านั้นเหรอครับ
|
 |
 |
 |
 |
Date :
2012-04-20 15:28:34 |
By :
sakuraei |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ได้แล้วครับผม... function มันซ้ำกันนะครับ
ขอบคุณมากๆครับ 
|
 |
 |
 |
 |
Date :
2012-04-20 15:48:04 |
By :
time.toon |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|