#12822 closed bug (notabug)
Microsoft JScript runtime error: Object doesn't support property or method 'curCSS'
Reported by: | 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;
}
Note: See
TracTickets for help on using
tickets.
$.curCSS has been deprecated since jQuery 1.3. Use $.css instead. Also, make sure you're using the latest jQuery and jQuery UI.