i m using this script to expand a DIV
on firefox giveme a erro Div-1 is not defined
Code:
function ShowDiv(Div-id) {
if (false == jQuery(Div-id).is(':visible')) {
jQuery(Div-id).show(250);
}
else {
jQuery(Div-id).hide(250);
}
}
//and the link is like this
onclick="ShowDiv(Div-1)"
onclick="ShowDiv(Div-2)"
Comment