---
title: "customattribute och firefox"
type: "forum-thread"
url: "https://www.webforum.nu/amne/javascript/151003-customattribute-och-firefox"
topic: "JavaScript"
topic_url: "https://www.webforum.nu/amne/javascript"
author: "lucgo446"
published: "2006-09-07T08:08:15.000Z"
updated: "2006-09-07T08:37:06.000Z"
replies: 1
views: 260
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/javascript/151003-customattribute-och-firefox"
---

# customattribute och firefox

## #1 — lucgo446, 2006-09-07T08:08Z

hej!

jag har en html table med egna attribut, men när jag ska läsa dessa attribut så är dessa undefined i firefox, hur gör man bäst?

\<table id=tdrag64635 objectID=64635 objectTypeID=15 parentId=64634 class=oC onclick="select('tdrag64635')" name="Koncern"\>

document.getElementById('tdrag64635').parentId (blir undefined)

Permalänk: https://www.webforum.nu/p/151003

## #2 — lucgo446, 2006-09-07T08:37Z

document.getElementById('tdrag64635').attributes\["parentId"\].value !!!

Permalänk: https://www.webforum.nu/p/1861984

---

Tråden på webben: https://www.webforum.nu/amne/javascript/151003-customattribute-och-firefox
