Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
Thread: object required?
09-05-2012, 12:13 AM #1
- Join Date
- May 2004
- Thanked 0 Times in 0 Posts
Why do I get object required?
09-05-2012, 01:01 AM #2
I give up, why do you? I don't.
I do have to ask why you wroteCode:
.... onclick='remove("+emptyDiv+")'; ...
It surely should have beenCode:
.... onclick='remove(emptyDiv)'; ...Be yourself. No one else is as qualified.
09-05-2012, 01:05 AM #3
As your code is written, you would be calllingCode:
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).Be yourself. No one else is as qualified.
Users who have thanked Old Pedant for this post:
09-05-2012, 01:29 AM #4
Users who have thanked Lerura for this post:
09-05-2012, 02:15 AM #5
Interesting. Didn't used to be. Wow. That's a big change.Be yourself. No one else is as qualified.