I have a DataTable with a DataAdapter in a Dataset that I created using the the dataset tools within Visual Studio. I had it create the INSERT/UPDATE/DELETE commands automatically for me and looking at them they look correct.
I have written a bunch of code to then populate/change the data...
Nevermind, I wrote the wrong alert. However, I'm not getting anything for style.height, as a string it would be "". When I use style.offsetHeight, I get an undefined error. Is there anyway around this?
I am trying to get the height or width or left or top of a layer that has not been explicitly set or has been set to a percentage.
i.e.
#DIV {position: absolute; width: 100%}
<div id="DIV">
</div>
I am changing the innerHTML of this layer and then trying to get the height so I can lay out...
Thank you lbass...
That was the logic I had at first. I was wondering why it didn't work...well, I had the tables linked wrong. oops.
Thank you everyone for your help on this situation.
Thanks BFAGG,
That would have worked...
I failed to give more detail into the scope of the project. The report needs more than just those fields...
i.e.
Item Supplier Department Category Total Quantity Store1 Quantity Store2 Quantity Store3 Quantity Cost Price
All of these values are...
Sorry, let me try to explain myself a little bit better...
the database:
Item StoreID Quantity
1 1 3
1 2 5
1 3 2
2 1 5
2 2 3
2 3 6
etc.
The easy way is to group by...
I need to get a quantity value for each store based on the ItemID, however, the client wants it within a column rather than grouping the ItemID and listing the stores with a quantity behind each, which is a lot simpler. Of course people want things the hard way...
i.e.
if {Item.StoreID} =...
For testing purposes, I need to create a list of all of the elements on a page that I am working on with all of their attributes and values. Does anyone have a snipet of code that will cycle through every object and get their attributes?
i.e.
document.Form.TextArea.Value = "whatever"...
ok, I put an alert in front of the if statements in both of the functions like this:
alert(document.getElementById("MainContent").style.visibility);
also one for SideContent.
Both of the alert boxes are empty when they come up. Am I calling the element right?
Thanks, that was it, I'm not throwing either error anymore. However, something new is popping up...When I click on one of the side menu options, it should change the content around and make the SideContent containers visible and the MainContent hidden, but it's not doing this. It's keeping the...
Thanks for catching a couple of things I missed, the comments I just threw in there last minute before posting, just for readability. However, those if statements wouldn't have worked, so thanks for catching that. It still doesn't help with the main errors I'm having though.
I am doing a site for a computer store and I have come across a couple of errors that I can't figure out, if someone could help me that would be greatly appreciated.
Here is the code: (At the end of this post, I'll describe the errors that I am getting)
<%@Language = VBScript%>
<html>...
That is actually what I was doing. I called the shrinkMore function from the start like that. The problem I am having is getting the number from the object. I was able to solve this problem using the offsetLeft and offsetTop and offsetWidth and offsetHeight commands. They are not W3...
I did a quick search to find out what NaN meant and it is short for Not-a-Number. Seeing as the first code that I wrote came up with no value at all for StyleObj.left then this leads me to believe that it is not pulling the correct object or properties for this object. Is there any way to test...
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.