04.05.2009, в 17:19, Jan Kolkmeier написал(а):

2. Go to link $i:
window.location = document.links[i].href;
This isn't nice at all, because it doesn't work with ajax-ish web pages.


As already asked on IRC, could please clarify what you mean by "doesn't work"? In particular, the following works as I would expect it to:

<a href="javascript:alert(0)">link</a>
<script>window.location = document.links[0].href;</script>

- WBR, Alexey Proskuryakov


_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to