Click here to Skip to main content
15,894,539 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Find Gridview Footer Row Pin
Steve Echols25-Oct-10 16:22
Steve Echols25-Oct-10 16:22 
Questiondom childNodes problem Pin
ekba8919-Oct-10 5:34
ekba8919-Oct-10 5:34 
AnswerRe: dom childNodes problem Pin
Gerben Jongerius20-Oct-10 2:45
Gerben Jongerius20-Oct-10 2:45 
GeneralRe: dom childNodes problem Pin
ekba8920-Oct-10 8:41
ekba8920-Oct-10 8:41 
QuestionDocument.Write not working. Pin
thebiostyle14-Oct-10 14:54
thebiostyle14-Oct-10 14:54 
AnswerRe: Document.Write not working. Pin
Dr.Walt Fair, PE14-Oct-10 15:18
professionalDr.Walt Fair, PE14-Oct-10 15:18 
GeneralRe: Document.Write not working. Pin
thebiostyle14-Oct-10 17:39
thebiostyle14-Oct-10 17:39 
AnswerRe: Document.Write not working. Pin
Pete O'Hanlon14-Oct-10 22:46
mvePete O'Hanlon14-Oct-10 22:46 
I have no idea what environment you are using to test your script with, so I'd suggest that you write out the value of webbrowser so you can see what it contains. Then you can see what it contains. I'd also consider, if I were you, looking at substrings rather than attempting a whole match. For instance, you can get your entire Blackberry tests down to:
JavaScript
if (webbrowser.indexOf("BlackBerry") != -1)
{
  document.write("Thanks for viewing ....");
}
In future, could you please put blocks of code inside the <pre> tags? It makes it easier to read and is a standard here on CP - just choose the code block option above the textbox.

BTW - if you want to step into your code, make sure that debugging is enabled on your browser, and put a debugger; statement in there to force a hard break.

I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Onyx


GeneralRe: Document.Write not working. [modified] Pin
thebiostyle15-Oct-10 6:50
thebiostyle15-Oct-10 6:50 
GeneralRe: Document.Write not working. Pin
thebiostyle25-Oct-10 6:14
thebiostyle25-Oct-10 6:14 
QuestionError in developing my first AJAX example. . . . Pin
khurram_shahzad14-Oct-10 6:03
khurram_shahzad14-Oct-10 6:03 
AnswerRe: Error in developing my first AJAX example. . . . Pin
Eddy Vluggen14-Oct-10 6:46
professionalEddy Vluggen14-Oct-10 6:46 
GeneralRe: Error in developing my first AJAX example. . . . [modified] Pin
Shantanu Gupta 133723-Oct-10 11:08
Shantanu Gupta 133723-Oct-10 11:08 
AnswerRe: Error in developing my first AJAX example. . . . Pin
moocr.com1-Nov-10 15:49
moocr.com1-Nov-10 15:49 
QuestionRetrieving data from an access database and show it to the user. Pin
gamer112711-Oct-10 3:04
gamer112711-Oct-10 3:04 
AnswerRe: Retrieving data from an access database and show it to the user. Pin
Eddy Vluggen14-Oct-10 6:45
professionalEddy Vluggen14-Oct-10 6:45 
AnswerRe: Retrieving data from an access database and show it to the user. Pin
Sanket898924-Oct-10 8:24
Sanket898924-Oct-10 8:24 
AnswerRe: Retrieving data from an access database and show it to the user. Pin
V.25-Oct-10 4:15
professionalV.25-Oct-10 4:15 
QuestionMove items up and down in listBox Pin
Member 32222648-Oct-10 4:55
Member 32222648-Oct-10 4:55 
AnswerRe: Move items up and down in listBox Pin
Not Active8-Oct-10 5:27
mentorNot Active8-Oct-10 5:27 
Questionmathematics tables Pin
yumss5-Oct-10 9:05
yumss5-Oct-10 9:05 
AnswerRe: mathematics tables PinPopular
NeverHeardOfMe5-Oct-10 9:25
NeverHeardOfMe5-Oct-10 9:25 
AnswerRe: mathematics tables Pin
PavanPabolu10-Oct-10 19:22
PavanPabolu10-Oct-10 19:22 
AnswerRe: mathematics tables Pin
PavanPabolu10-Oct-10 19:24
PavanPabolu10-Oct-10 19:24 
AnswerRe: mathematics tables Pin
PavanPabolu10-Oct-10 19:25
PavanPabolu10-Oct-10 19:25 

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.