![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 189 Pomógł: 1 Dołączył: 28.01.2008 Ostrzeżenie: (0%) ![]() ![]() |
Piszę skrypt w oparciu o jQuery i mam pytanie: Czy podany kod można uprościć:
Kod td = $(document.createElement('td')).appendTo(tr); select = $(document.createElement('select')).appendTo(td); optgr_opt = $(document.createElement('optgroup')).appendTo(select); Bo mam wrażenie jakbym nie postępował w myśl zasady DRY. Pozdrawiam |
|
|
![]() ![]() |
![]() |
Aktualny czas: 1.10.2025 - 16:47 |