In any case, I can get everything <a>on the page, I want to apply all new goals to them.
<a>
you can use
document.links
or in jQuery
$('a')
or in the DOM
document.getElementsByTagName('a')
if you use jQuery:
$("a").attr("target","_blank")
, , :
document.getElementsByTagName("A");
Javascript DOM:
var links = document.getElementsByTagName("a");
: http://www.javascriptkit.com/domref/elementmethods.shtml
, - ...
Source: https://habr.com/ru/post/1715454/More articles:CFNetwork HTTP protocol timeout? - httpXAML ImageBrush using BitmapImage without URI - c #Problem using Maven with Cargo plugin - maven-2Setting a property on a custom object through Interface Builder - objective-cКак установить свойство на пользовательском представлении, созданное с помощью XIB - iosUsing a Domain Management Doctrine - phpCan I hide the web file properties dialog box in Office 2003? - sharepointHow to access variables from a class using static methods? - javascriptSaving a document in SharePoint leads to a Web File Properties dialog with incorrect metadata - content-typePointer Array - c ++All Articles