datatables serverside help
datatables serverside help
I used datatables... but parameter error korean language in IE
i used
sAjaxSource : url + '?parameter1=a¶meter2=테스트'
that`s good working in Chrome
that`s good working but korean language using is error in IE
IE error is show alert.
Datatables wrning: table id=myGrid_tlb - Ajax error. For
more information about this error, please see http://datatables.net/tn/7
so i saw serverside and i knew korean language is not came in server but number and english is came in server
so i try it
fnServerParams : function(aoData){
aoData.push({"parameter1":"a","parameter2":"테스트"});
}
but that`s error...
chrome DevTools error message is
Uncaught TypeError: Cannot read property 'match' of undefined
at Object.<anonymous> (jquery.dataTables.min.js:35)
at Function.each (jquery-1.8.0.min.js:2)
at sa (jquery.dataTables.min.js:35)
at lb (jquery.dataTables.min.js:37)
at P (jquery.dataTables.min.js:29)
at T (jquery.dataTables.min.js:31)
at ha (jquery.dataTables.min.js:48)
at e (jquery.dataTables.min.js:93)
at HTMLTableElement.<anonymous> (jquery.dataTables.min.js:93)
at Function.each (jquery-1.8.0.min.js:2)
i use datatables version is 1.10.18
help me...TT
Answers
For "Ajax error" you'd need to refer to the server's error logs to see what the issue is. It could be anything from character encoding to a permissions error.
Allan
that`s error when i send korean parameter to server (IE)
good working korean parameter to server(chrome)
my server did not come in if i send korean parameter to server ...
my server did come in if i send english and number parameter to server...
but my server did come in when i send english and number parameter to server
i want know why korean is not working in IE ? It`s not support??
korean, english, number is good working in Chrome but just korean is not working in IE
I can
t show you server
s error because korean language is not come in my serverjust show me that`s alert when i send korean parameter to server
Have you checked your server's error log? That is normally in
/var/log/httpd/error.log
or similar (although it will very much depend on what http server you are using and its configuration).Allan
yes...error.log is clear bacause that`s not come in server
I checked test server .
I was looking at the console
english and number parameter came in server (IE)
but korean parameter not came in server (IE)
english and number and korean parameter came in server(Chrome)
that
s not server
s errorI think that`s reason maybe front side librariy...
thank you allan.
i solved problem!
i send korean parameter as encodeURI(korean)