What value should I use to change the border of an element back to its default? I tried 'null' and 'undefined' to no avail. When I inserted window.alert(targetControl.borderColor); it returned...
Thank you for posting that, but I need a detailed explaination of whats going on in order to adapt it to my use. Its beyond my knowledge of JavaScript and I don't have time to dig into what's going...
Too simple to be true. I need to mod the code so that the codes doesn't run when the image which displays the div is clicked. The onclick of the image sets the hidden input 'TargetPopup' to the id of...
I'd like to create an div that is displayed when an HTML element is click. That portion of it isn't a problem as it's a simple onclick="displaydiv();". What I need is the ability to automatically...
Well, Julian Nix that. I just checked the page again in the other browsers and its working fine. I'm guessing it was in advertenly fixed as I added more styling to the table row and table divs.
Using the markup below, the HTML table is rendered correctly in IE 7, however Google, Safari and TheBrowserThatShallNotBeSpokenOf* the 8th div drops down below the 1st. What's going on in those...
Since the scrolling div encapsulates the output of an ASP.NET ListView, I added server side code that counts the number of rows in the ListView up to the target row. The code then calculates the...
I have a scrolling DIV with multiple child DIV's. I'd like to create a function that automatically scrolls the DIV down so that the a specific child DIV is displayed.
I have a need to replace single backslashes with double backslashes. I know that the replace method of the string object can be used, however I'm not able to figure out the correct combination given...
Its the page header and the page footer automatically inserted by the browser that I want to supress via the page and without user intervention. I'm fully aware that it can be done manually the...
My organization is all on IE 7 or IE 8 so I've been using Compatiability View to check that things look ok between the two. I have a textbox with multiple rows and multiple columns that does not...
Is it possible to dynamically add an image to a document using document.write? I've been playing around with it and I'm able to add the image tag, but the image is not being displayed. I'm only...
I've got some Javascript within a div that's displayed by a Modal Popup Extender. The Javascript is throwing an error. When I go to 'View Source', it appears that the source for the Modal Popup...
I'm using the following JavaScript ot open a popup window from our intranet site. Currently, if the window is opened and the user clicks on the link a second time, nothing appears to happen.