Timeline for JavaScript: Setting location.href versus location
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 31, 2017 at 12:03 | review | Low quality answers | |||
Jul 31, 2017 at 15:07 | |||||
Nov 18, 2014 at 22:48 | history | edited | Timo Tijhof | CC BY-SA 3.0 |
formatting and omit window
|
Jul 31, 2014 at 14:54 | comment | added | Phil DD | Your comment is true, but you are talking about getting the href attribute, a string, of the location object. All the other discussions are dealing with assigning a value, not reading the value. But your point is correct. The difference is that href is a string while location is an object. | |
May 7, 2014 at 15:01 | history | answered | Chadams | CC BY-SA 3.0 |