Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12822 closed bug (notabug)

Microsoft JScript runtime error: Object doesn't support property or method 'curCSS'

Reported by: sandeep.vemulas@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Description

Am getting error while creating autocomplete extender using jquery. Am getting error at line wcham marked as bold. function reduce(elem, size, border, margin) {

$.each(side, function () {

size -= parseFloat($.curCSS(elem, "padding" + this, true))
0;

if (border) {

size -= parseFloat($.curCSS(elem, "border" + this + "Width", true))
0;

} if (margin) {

size -= parseFloat($.curCSS(elem, "margin" + this, true))
0;

}

}); return size;

}

Change History (2)

comment:1 Changed 7 years ago by mikesherov

Resolution: notabug
Status: newclosed

$.curCSS has been deprecated since jQuery 1.3. Use $.css instead. Also, make sure you're using the latest jQuery and jQuery UI.

comment:2 Changed 7 years ago by anonymous

yes this is true

I used jquery v1.4, it got fixed

Note: See TracTickets for help on using tickets.