datatables serverside help

datatables serverside help

KimJuHwanKimJuHwan Posts: 8Questions: 2Answers: 0

I used datatables... but parameter error korean language in IE
i used
sAjaxSource : url + '?parameter1=a&parameter2=테스트'
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

  • allanallan Posts: 61,743Questions: 1Answers: 10,111 Site admin

    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

  • KimJuHwanKimJuHwan Posts: 8Questions: 2Answers: 0
    edited April 2019

    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

  • KimJuHwanKimJuHwan Posts: 8Questions: 2Answers: 0

    I cant show you servers error because korean language is not come in my server

    just show me that`s alert when i send korean parameter to server

  • allanallan Posts: 61,743Questions: 1Answers: 10,111 Site admin

    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

  • KimJuHwanKimJuHwan Posts: 8Questions: 2Answers: 0

    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)

    thats not servers error
    I think that`s reason maybe front side librariy...

  • KimJuHwanKimJuHwan Posts: 8Questions: 2Answers: 0

    thank you allan.

    i solved problem!

    i send korean parameter as encodeURI(korean)

This discussion has been closed.