Jump to content

Recommended Posts

Hey, I need your help again pleeeaaase....

 

I have been searching for hours now but I still havent found what I am looking for....

 

The IE error message is:

 

Webpage error details

 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)

Timestamp: Mon, 30 May 2011 17:42:38 UTC

 

 

Message: Object required

Line: 3862

Char: 5

Code: 0

URI: http://www.example.com/js/prototype_1.6.0.2.js

 

Here the corresponding code:

 setOpacity: function(element, value) {

    element = $(element);

    element.style.opacity = (value == 1 || value === '') ? '' :

      (value < 0.00001) ? 0 : value;

    return element;

  },

 

Thanks so much in advance,

 

Ben

 

Link to comment
https://forums.phpfreaks.com/topic/237898-error-object-required/
Share on other sites

So... you uncommented the nrRooms element? or did you delete everything and it somehow works now?

 

And why would you want to delete the code from the HTML source? If you do so, you will have to edit your javascript correspondingly as all the elements that the script references will no longer exist.

If you simply commented out that element, you will have to find references to that element in the page's javascript code, and comment out those lines of code too. But you will have to know what you are doing and understand how that element affects any other elements on the page, or you will probably make a mess out of everything and screwing up the functionality of something else on the page.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.