Skip to main content

Bug Tracker

Side navigation

#12822 closed bug (notabug)

Opened November 01, 2012 07:21AM UTC

Closed November 01, 2012 11:16AM UTC

Last modified December 12, 2012 07:56AM UTC

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

Reported by: sandeep.vemulas@gmail.com 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;

}

Attachments (0)
Change History (2)

Changed November 01, 2012 11:16AM UTC by mikesherov comment:1

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.

Changed December 12, 2012 07:56AM UTC by anonymous comment:2

yes this is true

I used jquery v1.4, it got fixed