|
 |
|
ajax ช่วยหน่อยค่ะ อยากจะถามว่า โค๊ด ajax ทำไม window.locationในโค๊ดของ ajax มันไม่ทำงานค่ะ |
|
 |
|
|
 |
 |
|
window.location.href = "edit.php";
ลองดูแบบนี้นะครับ ว่าได้ไหม
|
 |
 |
 |
 |
Date :
2009-08-14 09:57:00 |
By :
ชล |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ไม่ได้ค่ะ
|
 |
 |
 |
 |
Date :
2009-08-14 10:03:08 |
By :
saowaluk052 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ผมก็เคยเป็นแบบนี้ ลองเปลี่ยน จาก Y เป็นตัวเลข หรือยังครับ
ผมไม่แน่ใจว่าทำอย่างไรแล้ว แต่เท่าที่บอกมา คือมัน echo Y แสดงว่า
HttPRequest.responseText == 'Y' =>>false
อาจะมีกรณีที่ Y มันมีช่องว่างมาด้วยนะครับ เช่น ' Y' หรือ 'Y '
ลองเช็คดูอีกทีละกัน
|
 |
 |
 |
 |
Date :
2009-08-15 22:05:29 |
By :
DownsStream |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
สังสัย เวลา เรา encodeURI() parameter แล้ว เวลาเรารับ เราจะต้อง decodeURl() ไหมครับ และ url ที่มีการ encode แล้ว จะเป็นอย่างไร ช่วยบอกหน่อยนะครับ...
|
 |
 |
 |
 |
Date :
2009-08-17 19:52:51 |
By :
nilas |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 01
|