Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support href '#' and 'javascript:void(0);' #23

Open
orslumen opened this issue Apr 8, 2011 · 0 comments
Open

Support href '#' and 'javascript:void(0);' #23

orslumen opened this issue Apr 8, 2011 · 0 comments

Comments

@orslumen
Copy link

orslumen commented Apr 8, 2011

When the 'href' attribute of a HTMLAnchorElement is set to '#' or 'javascript:void(0);', a click should not lead to a location change.

A workaround can be found in orslumen@80c79e3

SkUrRiEr pushed a commit to SkUrRiEr/env-js that referenced this issue Mar 4, 2014
SkUrRiEr pushed a commit to SkUrRiEr/env-js that referenced this issue Mar 4, 2014
pull request envjs#23, 031b304/b645a70 from moschel. Added Windows batch
files to run envjs using either Rhino or the Rhino debugger. Fixed
an issue in xhr.js Envjs.localXHR when running under Rhino, url
parameter was tested for pattern match to determine Content-Type,
but fails under Rhino since the url parameter passed is a Java
object, not a string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant