Ticket #6538 (closed bug: invalid)
Toggle doesn't work in Chrome
| Reported by: | dwest | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | effects | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Using toggle to show/hide elements does not appear to work in Chrome.
See an example here: http://blackfoot.appstate.edu/~dwest/test/hall_expander/expander.html
Change History
comment:1 Changed 3 years ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
- Component changed from unfiled to fx
comment:4 Changed 23 months ago by michelle
I've just run into this as well... I have a login form being included: login.html: <span class="login" >
<form id="loginform" method="post" action=".">
{% csrf_token %} {{ form.username }} {{ form.password }} <input type="submit" value="{% trans 'Log in' %}" /> <input type="hidden" name="next" value="{{ next }}" />
</form> <p>{% trans "Forgot password" %}? <a href="{% url auth_password_reset %}">{% trans "Reset
it" %}</a>!</p> </span>
index.html: <span class='a'>{% trans "Log in" %}</span> <script> $(document).ready(function(){
$(".login").hide(); $(".a").click(function(){
$(".login").toggle();
});
});
</script>
This works in firefox4+, but not in Chrome 12.0.742.100. Going to attempt a chrome update to see if that helps.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Can you narrow down the test case a bit more? Use only jQuery core so we can establish that it's a core bug.