Modify ↓
Ticket #4149 (closed bug: duplicate)
css(property, value) has a problem??
| Reported by: | Jumann | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3.2 |
| Component: | core | Version: | 1.3.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
javascript:(function(){window.t=document.createElement('script');window.t.src='http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.js';window.document.body.appendChild(window.t);setTimeout(function(){jQuery('body').css('padding-top',30);},2000)})();
You can copy the sentence above here. Then link to http://help.cc.tw.yahoo.com/index.html?product=news and paste it to address bar. It raised exception which is name.replace is not a function at line 1043 in jquery 1.3.1
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

You're injecting jQuery onto a page it wasn't built for. I think the .replace function is getting overloaded in a way it wasn't meant to by the page author.
I don't think this is a jQuery problem.