|
-
May 9th, 2008, 11:12 AM
#1
Get Div Height
In javascript I can use
var DivHeight = document.getElementByID("cw").offsetHeight;
to get the height of a div after it has been created. Is there a vbscript equivalent?
-
May 9th, 2008, 04:47 PM
#2
Re: Get Div Height
Is this for VBScript client side or server side?
If it's server side (ASP), then you cannot. But if it's client side VBScript, I believe you'd use almost the same code.
Code:
Dim DivHeight
DivHeight = document.getElementById("cw").offsetHeight
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|