#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: | ||
Blocked by: | Blocking: |
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 (5)
comment:1 Changed 13 years ago by
Component: | unfiled → fx |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 12 years ago by
comment:4 Changed 12 years ago by
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.
comment:5 Changed 11 years ago by
HI.
As far as I can tell, I run into this issue as soon as I want to float something. If this is the case in your code, try removing the float and see if it works.
Can you narrow down the test case a bit more? Use only jQuery core so we can establish that it's a core bug.