By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

Returning proper height values!

P: n/a

I have a very simple script.
It is used to adjust the size of a table cell acording to the size of the a
different table cell.
The main cell has and id value of layout and the table to adjust is
The 465 is the difference between the other cells that i have constant and
the cell that i want to adjust in terms of the layout cell.
The problem.. when it returns the value of the layout cell and adjusts the
size... the size doesn't come out right...
I'm thinking they aren't of the same units and therefor I am getting
incorrect results

var height = document.all.layout.size;
var newheight = height - 465;
document.all.lastcell.size == newheight;

Any help would be greatly appreciated

NeoPhreak >.<
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

"NeoPhreak" <tc******> wrote in message
news:h2******************** ..
document.all.lastcell.size == newheight;

equivalency operator vs assignment operator issue?
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.