This works fine in IE, but not Firefox. I am trying to set the left property of an element. I can do it fine if I set it using a string literal, but not if I use offsetWidth of another element. See below.
//el is my element
//this works fine
el.style.left = "100px";
//this does not work...
The problem is that whenever I try to use ItemData to pull the value of the index field, it returns null, even if I specify the number of a row from the combobox that I know is a valid argument.
Here's the scenario:
I have a combobox selecting 2 fields from a table as its rowsource. One...
My problem is that sometimes the listbox (lstCountries) below updates/requeries after either the add_Click() or delete_Click() functions, and sometimes not. The data in tblCountries does change everytime, but the contents of the listbox don't always. I can't find any rhyme or reason to it...
I accidentally shut off the power to my computer while using it and when I restarted, all of the mail in between 2 dates in all of my folders was missing from Outlook Express. All other messages in all folders are their, except for the messages in between those dates. I tried doing a system...
I see that this topic has been discussed, but I have a more specific problem.
element.offsetWidth usually works for me, but I am having a problem where in one case (not sure why), I am getting a return of 0 for the width of an element that is visible and definately not width 0. Also, this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.