Hi, Not executing :-(
Server Side
//Script
if($count==1){
echo true;
}else {
echo false;
}
?
Client Side
...
if (true.equals(responseText)){
Log.i(Output,responseText);
responseText = here it should be true;
Toast.makeText(
The empty line is due to there being a newline character in your
server's response.
Trim it before testing for true / false:
response = response.trim();
-- Kostya
10.02.2011 13:50, Samsung Galaxy пишет:
Hi, Not executing :-(
Server Side
//Script
if($count==1){
echo true;
}else {
echo
Thanks All its working :-)
On Feb 10, 11:57 am, Kostya Vasilyev kmans...@gmail.com wrote:
The empty line is due to there being a newline character in your
server's response.
Trim it before testing for true / false:
response = response.trim();
-- Kostya
10.02.2011 13:50, Samsung
Dang too late.. lol.. use responseText.trim().equalsIgnoreCase(true). Of
course I'd check for null first..
On Thu, Feb 10, 2011 at 3:18 AM, Samsung Galaxy atif.musad...@gmail.comwrote:
Thanks All its working :-)
On Feb 10, 11:57 am, Kostya Vasilyev kmans...@gmail.com wrote:
The empty
4 matches
Mail list logo