![]() |
object required?
Why do I get object required?
Code:
<div id=layer1 style="visibility:hidden; position: absolute; top: 250; left: 20; width: 550; height: 100; background-color: #FFFFFF; border: 2px dotted #6699FF; padding: 5px"></div> |
I give up, why do you? I don't.
I do have to ask why you wrote Code:
.... onclick='remove("+emptyDiv+")'; ...It surely should have been Code:
.... onclick='remove(emptyDiv)'; ... |
As your code is written, you would be callling
Code:
remove(layer1)Code:
alert(removeId)alert(null) or, esp. in MSIE browsers, alert( the_object_with_the_id_of_layer1 ) (because MSIE treats IDs as object references if you don't override that meaning). |
Quote:
|
Interesting. Didn't used to be. Wow. That's a big change.
|
| All times are GMT +1. The time now is 11:45 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.