Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Checkboxes don't display properly <input type='checkbox' 'checked'> in 4.0.1 when they are fine for same page in 3.6.17

  • 2 odgovora
  • 2 imaju ovaj problem
  • 26 prikaza
  • Posljednji odgovor od ric1950

more options

Checkboxes don't display properly checked <input type='checkbox' 'checked'> in 4.0.1 when they are fine for same page in 3.6.17

Checkboxes don't display properly checked <input type='checkbox' 'checked'> in 4.0.1 when they are fine for same page in 3.6.17

Izabrano rješenje

Perhaps you could try using checked instead of 'checked'.

Pročitaj ovaj odgovor u kontekstu 👍 0

Svi odgovori (2)

more options

Odabrano rješenje

Perhaps you could try using checked instead of 'checked'.

more options

Thanks heaps.

It seems that the correct usage is checked='checked' but checked

works while
'checked' 

doesn't. Same applies for 'selected' for radio buttons and drop down lists