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
- function showHideScratchPad(cLeft,cTop,cHeight,cWidth,cBgColor,cBstyle,cBwidth,cBcolor)
- {
- if ( document.getElementById("scratchPad").style.visibility == "hidden" ) {
- .... A bunch of setup code ......
- }else{ //hide if visible
- document.getElementById("scratchPad").style.visibility = "hidden";
- document.getElementById("scratchPad").style.left = "0px";
- document.getElementById("scratchPad").style.top = "0px";
- document.getElementById("scratchPad").style.height = "0px";
- document.getElementById("scratchPad").style.width = "0px";
- // remove existing rows, if any
- while (document.getElementById("sPadData").rows.length > 0)
- {
- document.getElementById("sPadData").deleteRow(0);
- }
- }
- }
Expand|Select|Wrap|Line Numbers
- function showHideScratchPad(cLeft,cTop,cHeight,cWidth,cBgColor,cBstyle,cBwidth,cBcolor)
- {
- if ( document.getElementById("scratchPad").style.visibility == "hidden" ) {
- .... A bunch of setup code ......
- }else{ //hide if visible
- document.getOk = true
- }
- }
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.