Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
Thread: object required?
09-04-2012, 11:13 PM #1
- Join Date
- May 2004
- Thanked 0 Times in 0 Posts
Why do I get object required?
09-05-2012, 12: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, 12: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, 12:29 AM #4
Users who have thanked Lerura for this post:
09-05-2012, 01:15 AM #5
Interesting. Didn't used to be. Wow. That's a big change.Be yourself. No one else is as qualified.