From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/api/element/removeattributens/index.html | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 files/ja/web/api/element/removeattributens/index.html (limited to 'files/ja/web/api/element/removeattributens') diff --git a/files/ja/web/api/element/removeattributens/index.html b/files/ja/web/api/element/removeattributens/index.html new file mode 100644 index 0000000000..57d7763880 --- /dev/null +++ b/files/ja/web/api/element/removeattributens/index.html @@ -0,0 +1,41 @@ +--- +title: element.removeAttributeNS +slug: Web/API/Element/removeAttributeNS +translation_of: Web/API/Element/removeAttributeNS +--- +

<breadcrumbs></breadcrumbs>{{ ApiRef("DOM") }}== Summary ==

+ +

概要

+ +

<code>removeAttributeNS</code> removes the specified attribute from an element. removeAttributeNS 要素から指定の属性を取り除きます。

+ +

{{ fx_minversion_inline("3") }} In Firefox 3 and later, this method resets DOM values to their defaults. {{ Fx_minversion_inline("3") }} Firefox 3以降ではこのメソッドはDOMの値をデフォルト値にリセットします。== Syntax ==

+ +

構文

+ +
element.removeAttributeNS(namespace,attrName);
+
+ +

* <code>namespace</code> is a string that contains the namespace of the attribute. * <code>attrName</code> is a string that names the attribute to be removed from the current node.

+ + + +

+ +
// <div id="div1" xmlns:special="http://www.mozilla.org/ns/specialspace"
+//      special:specialAlign="utterleft" width="200px" />
+d = document.getElementById("div1");
+d.removeAttributeNS("http://www.mozilla.org/ns/specialspace", "specialAlign");
+// now: <div id="div1" width="200px" />
+
+ +

注記

+ +

{{ DOMAttributeMethods() }}== Specification ==

+ +

仕様

+ +

DOM Level 2 Core: removeAttributeNS

-- cgit v1.2.3-54-g00ecf