Click here to Skip to main content
15,902,749 members
Home / Discussions / Web Development
   

Web Development

 
Questionunable to compare in javascript [modified] Pin
rahul.net114-Jul-07 0:03
rahul.net114-Jul-07 0:03 
AnswerRe: unable to compare in javascript Pin
Luay.Essa4-Jul-07 0:50
Luay.Essa4-Jul-07 0:50 
GeneralRe: unable to compare in javascript Pin
rahul.net114-Jul-07 1:23
rahul.net114-Jul-07 1:23 
Hi Luay.Essa
i know vb.net is not case sensitive.in my application i am
checking username is available in database or not using AJAX.if user name
is available then i am sending false through Response.Write.When i catch
the response in javascript like
var result = new String(xmlHttp.responseText);
then i compare if response is False then giving message in label that
not available if response is True then i am giving message Available.
when i try to compare
if (result=='False')
{//message here
}

but it is not comparing.if condition become true means result contain False in that case also it goes to else loop.
i cant understand why?Cany u tell me why it is happening?

Thanks.

df

GeneralRe: unable to compare in javascript Pin
Luay.Essa4-Jul-07 2:30
Luay.Essa4-Jul-07 2:30 
GeneralRe: unable to compare in javascript [modified] Pin
rahul.net114-Jul-07 2:47
rahul.net114-Jul-07 2:47 
GeneralRe: unable to compare in javascript Pin
Luay.Essa4-Jul-07 3:10
Luay.Essa4-Jul-07 3:10 
GeneralRe: unable to compare in javascript [modified] Pin
rahul.net114-Jul-07 3:16
rahul.net114-Jul-07 3:16 
GeneralRe: unable to compare in javascript Pin
Luay.Essa4-Jul-07 19:01
Luay.Essa4-Jul-07 19:01 
AnswerRe: unable to compare in javascript Pin
WoutL4-Jul-07 2:26
WoutL4-Jul-07 2:26 
GeneralRe: unable to compare in javascript Pin
rahul.net114-Jul-07 2:53
rahul.net114-Jul-07 2:53 
GeneralRe: unable to compare in javascript Pin
WoutL4-Jul-07 3:29
WoutL4-Jul-07 3:29 
QuestionConnection help Pin
boyindie3-Jul-07 23:07
boyindie3-Jul-07 23:07 
QuestionCheck if app exists and open from internet Pin
Dimkov3-Jul-07 22:54
Dimkov3-Jul-07 22:54 
AnswerRe: Check if app exists and open from internet Pin
Michael Sync3-Jul-07 23:10
Michael Sync3-Jul-07 23:10 
GeneralRe: Check if app exists and open from internet Pin
Dimkov3-Jul-07 23:18
Dimkov3-Jul-07 23:18 
GeneralRe: Check if app exists and open from internet Pin
Michael Sync3-Jul-07 23:42
Michael Sync3-Jul-07 23:42 
GeneralRe: Check if app exists and open from internet Pin
Dimkov4-Jul-07 0:03
Dimkov4-Jul-07 0:03 
GeneralRe: Check if app exists and open from internet Pin
Johnny ²4-Jul-07 14:27
Johnny ²4-Jul-07 14:27 
QuestionJavaScript Detect Scrollbar Pin
Tamimi - Code3-Jul-07 21:37
Tamimi - Code3-Jul-07 21:37 
AnswerRe: JavaScript Detect Scrollbar Pin
Luay.Essa3-Jul-07 21:51
Luay.Essa3-Jul-07 21:51 
GeneralRe: JavaScript Detect Scrollbar Pin
Tamimi - Code3-Jul-07 22:43
Tamimi - Code3-Jul-07 22:43 
QuestionLooking for CSS script; Hidden button appears Pin
devintm03-Jul-07 14:31
devintm03-Jul-07 14:31 
AnswerRe: Looking for CSS script; Hidden button appears Pin
Luay.Essa3-Jul-07 19:19
Luay.Essa3-Jul-07 19:19 
QuestionJava - PAN - web browsing.. Pin
stickershock3-Jul-07 14:23
stickershock3-Jul-07 14:23 
QuestionSetting Button and Textbox focus Pin
devil853-Jul-07 11:00
devil853-Jul-07 11:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.