473,326 Members | 2,337 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

document.getOk = true

Claus Mygind
571 512MB
I am not sure where this comes from.

I am trying to debug my app in Firebug and I see the file I am working on does not look the same in FireBug.

Here is my code:
Expand|Select|Wrap|Line Numbers
  1. function showHideScratchPad(cLeft,cTop,cHeight,cWidth,cBgColor,cBstyle,cBwidth,cBcolor) 
  2. {
  3.     if (  document.getElementById("scratchPad").style.visibility == "hidden" ) {
  4.         .... A bunch of setup code ......
  5.     }else{ //hide if visible
  6.         document.getElementById("scratchPad").style.visibility = "hidden";
  7.         document.getElementById("scratchPad").style.left =  "0px";
  8.         document.getElementById("scratchPad").style.top = "0px";
  9.         document.getElementById("scratchPad").style.height = "0px";
  10.         document.getElementById("scratchPad").style.width =  "0px";
  11.         // remove existing rows, if any
  12.         while (document.getElementById("sPadData").rows.length > 0) 
  13.         {
  14.             document.getElementById("sPadData").deleteRow(0);
  15.         }
  16.     }
  17. }
  18.  
  19.  
Instead of the hightlighted code above, I just get this:
Expand|Select|Wrap|Line Numbers
  1. function showHideScratchPad(cLeft,cTop,cHeight,cWidth,cBgColor,cBstyle,cBwidth,cBcolor) 
  2. {
  3.     if (  document.getElementById("scratchPad").style.visibility == "hidden" ) {
  4.     .... A bunch of setup code ......
  5.     }else{ //hide if visible
  6.         document.getOk = true
  7.     }
  8. }
  9.  
I cannot find any reference to document.getOk on the net.

Any suggestions or ideas would be appreciated. The problem for me although the code still executes all the lines below no longer match the line #s of the source code, so it is hard to set a breakpoint.
Jul 28 '11 #1

✓ answered by Claus Mygind

While I did not figure out the specific problem, I did upgrade FF from 3.6 to 5.01 and things are back in order.

1 1143
Claus Mygind
571 512MB
While I did not figure out the specific problem, I did upgrade FF from 3.6 to 5.01 and things are back in order.
Jul 28 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Edward | last post by:
The below code builds 2 tables 4 rows by 4 cols. All cells have checkboxes. When checked, the checkboxes in the first column automatically check the remainder of the check boxes in the same row. ...
12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
12
by: lawrence | last post by:
The following function correctly makes everything invisible but then fails to turn the one chosen DIV back to visible. I imagine I'm getting the syntax of the variable wrong? I've tried this with...
3
by: davidkarlsson74 | last post by:
Error: document.getElementById("folderMenu").cells has no properties File: http://www.volkswagen.se/tillbehor/js/foldermenu.js Rad: 49 The function activates different DIV:s, but doesn't seem to...
11
by: Michael Powe | last post by:
How can I make an XHTML-compliant form of an expression in this format: document.write("<scr"+"ipt type='text/javascript' src='path/to/file.js'>"+"</scr"+"ipt>"); this turns out to be a...
0
southoz
by: southoz | last post by:
Good ay all , I'm fairly new to access(a little over 5 weeks now). Since I'v started I have picked up a lot of useful information from forums such as this and in doing so will share that information...
8
by: geoffdude | last post by:
Hi everyone, newbie here. I'm really close to finishing my zip code search filter thingy to return a specific message (ultimately a unique phone number for sales contact) after a form query (of...
2
by: kigoobe | last post by:
Well, I'm getting an error. Here is the function, what, according to FF's consolde is generating the error. function citizen3() { if (document.ededfil.nationalite.checked == true) { ...
1
by: =?Utf-8?B?SWdvcg==?= | last post by:
Hi ! I have a problem with WebControl I opened Microsoft Word document not directly, but in Visual Basic 6.0 WebBrowser control. When I selected with Range.Select any text the Saved property...
4
by: Louloul | last post by:
Hello how the disabled function of special option from select switch off a fieldset?? <script type="text/javascript"> function choose_a() { var x=...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.