![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 51 Pomógł: 0 Dołączył: 1.03.2016 Ostrzeżenie: (0%) ![]() ![]() |
Witam pomoże mi ktoś odczytać taka zawartość [object HTMLElement]
Alert zwraca mi coś takiego : [object HTMLElement],[object HTMLElement],[object HTMLElement] a element który pobieram jest zbudowany z : Pozdrawiam, Michał |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 6 378 Pomógł: 1116 Dołączył: 30.08.2006 Ostrzeżenie: (0%) ![]() ![]() |
Console.log zamiast alert
-------------------- |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 51 Pomógł: 0 Dołączył: 1.03.2016 Ostrzeżenie: (0%) ![]() ![]() |
Dzięki za odp za pomocą console.log(x) udało mi się odczytać obiekt HTML i tak oto poleceniem jQuery("td.col-2").html(x[0].textContent); wywołuje konkretną zawartość obiektu.
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 24.07.2025 - 18:38 |