Why does the phrase " <a href=’javascript:;’ " sometimes appear in html files, and what does it mean?
Specifically, I’m curious about how it could be possible to find the url which the link takes that you.I wrote an application that goes thru html records, looking for links.However this file I am specifically looking at sometimes has this in preference to an real link:
I tried using looking from the included.js as well as.css files to the page, which seemed to contain definitions for your blueLink category, but WHEN I couldn’t chose the url filed written at any place, either on the html page itself or maybe the comprise files (I are not aware of javascript, so I’m not totally sure if there seemed to be any position looking inside include files).Does anybody know of another way winning the url the link brings to
the href=”javascript:; ” = the null link = will go nowhere.
therefore to respond to your concern:-
Does anybody know of another way winning the url the link brings to
Zero, because right now there isn’t you.
This tier tells laptop that that statement following a “javascript:” is a JavaScript function running.
The functionality can glimpse either from the HTML body (after ), or from the HTML brain (after ), and also in an external.js (JavaScript) file that is pointed to inside of the HTML.
I am hoping this assists.
Leave a Reply
You must be logged in to post a comment.