Side navigation
#7202 closed bug (fixed)
Opened October 15, 2010 02:08PM UTC
Closed December 06, 2010 10:02PM UTC
Last modified March 13, 2012 09:08PM UTC
$(location).attr('href', hrefString) not working in jquery.latest
Reported by: | stephenrichter@gmail.com | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | attributes | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
was using jquery-latest.min.ms in my code.
<script type="text/javascript"
src="http://code.jquery.com/jquery-latest.min.js"></script>
this morning, $(location).attr('href', someHrefString ) was not working for me like it did yesterday. I changed my code to use jquery 1.4.2 from googleapis and the code worked again.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"
type="text/javascript"></script>
Attachments (0)
Change History (5)
Changed October 15, 2010 02:18PM UTC by comment:1
component: | unfiled → attributes |
---|---|
resolution: | → wontfix |
status: | new → closed |
Changed December 06, 2010 10:02PM UTC by comment:2
milestone: | 1.4.4 |
---|---|
resolution: | wontfix |
status: | closed → reopened |
Changed December 06, 2010 10:02PM UTC by comment:3
milestone: | → 1.4.5 |
---|---|
priority: | undecided → high |
resolution: | → fixed |
status: | reopened → closed |
Welp, we ended up fixing this anyway:
Changed December 22, 2010 02:29PM UTC by comment:4
with html5 everthing will be a dom element
Changed January 14, 2011 10:20PM UTC by comment:5
milestone: | 1.4.5 → 1.5 |
---|
Move fixed tickets to appropriate milestone
You shouldn't use .attr() on non-DOM elements. You can just do:
window.location.href = hrefstring;