OZONE Asylum
Forums
DHTML/Javascript
createElement("div") + IE?
This page's ID:
27802
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I have yet another problem now : divHandle is a div created from within an object, with an id. [code] divHandle.onmouseup = dothis(); [/code] works, but I want to pass the id of the object so I know what div has been clicked [code] divHandle.onmouseup = dothis(this.id); [/code] The above returns the div's "this" and not the object where it was spawned from and can't find .id, basically the command is being run from the div itself. Anyone know how I could get around this? I was thinking it would have to revolve around the eval command somehow, but I couldnt figure it out and a listener isnt very practical.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »