I have tried like this and found that , in the alert box provided in the ajax, the value is printing correctly.
The value1 contains 4 values, in the alert box provided in ajax code, the following displays each time with each colunm value of the row.:
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Results</title>
</head>
<body>
content-type: text/html
Content-Type: text/javascript; charset=UTF-8
alert('Â 6')
===================================
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Results</title>
</head>
<body>
content-type: text/html
Content-Type: text/javascript; charset=UTF-8
alert('Â sawerr')
=================================
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Results</title>
</head>
<body>
content-type: text/html
Content-Type: text/javascript; charset=UTF-8
alert('Â qswertyqawe')
============================================
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Results</title>
</head>
<body>
content-type: text/html
Content-Type: text/javascript; charset=UTF-8
alert('Â y')
===================================
BUt in the browser, it is showing like :
charset=UTF-8 alert('nothing') |