Modify ↓
Ticket #4973 (closed bug: invalid)
animate Method Fails in Firefox 3.5, Safari 4, Chrome
| Reported by: | DavidSalahi | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | effects | Version: | 1.3.2 |
| Keywords: | animate | Cc: | |
| Blocking: | Blocked by: |
Description
animate fails to have any effect. In the attached example, the font size is (should be) animated. Works in IE8.
Attachments
Change History
Changed 4 years ago by DavidSalahi
-
attachment
animate Dave.html
added
comment:1 Changed 4 years ago by caii
<form> <button onClick="animator()">Animate</button> </form>
remove the "<form>" ,I Think it's no about jquery'bug.
comment:2 Changed 3 years ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
- Component changed from unfiled to fx
Right, as caii says it's because of the form tags. The button acts as a submit so the page reloads before the animation can start.
For issues like this, please ask for help on the forum. Once it's determined the problem is really a bug you can open a ticket here.
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.

Sample code showing animate failure