Web Hosting Talk







View Full Version : Javascript problems in IE


Snitz
04-21-2009, 04:34 AM
I'm having a problem in one of my forms, I'm getting a "done with error" and some fields in the form aren't working on IE due to a javascript error somewhere. I emailed the creator of the component and they said that there is nothing wrong with the component but something inside w a js file is causing the problem on other browsers.

/js/el.script.js
function equalHeight(){
makeEqualHeight ($('el-botsl').getChildren());
makeEqualHeight ($$(['el-content','el-col1-bot','el-col2']));
}


Site: [LINK] (http://www.avis.com.lb/reservation-inquiry?group=%27Group+V+%28e.g.+Renault+Kangoo%29%27&cor=%27Lebanon%27&corofres=%27LEBANON%27&hr=%2709%27&monthcoll=04)
Avis >> Avis Cars >> scroll down to Group V and click "book car"

I hope someone can help me in here.

randombit
04-29-2009, 02:05 PM
When loading the page in Firefox, Firebug tells me the following error:

$("el-botsl") is null


"el-bots1" does not appear to exist on the page. Also, it looks like it should be referenced as $("#el-bots1") to indicate it is looking for a dom element with id="el-bots1", not a tag <el-bots1>

cselzer
04-30-2009, 12:45 PM
Error: $("el-botsl") is null
Source File: http://www.avis.com.lb/templates/el_Avis/js/el.script.js
Line: 67


In firefox.