Message from JavaScript discussions

January 2018

— I always found linters to be helpful as a beginner


#ask. Example. <input value="" name="field[]"> when click add button 2x, the name output field[0] and field[1]. My question, how to set value in field[1] ? Thanks

— Unclear, please explain a bit more

— For example,there's tag input with name field[1]. How to set value in field[1] ?


document.querySelector('input[name="field[1]"]').value = 'someValue';

— Hello all, I'm new to this group and new to JavaScript, please give resources to learn. Thanks

— Xute_zeek

— Pin it

— Floofies , could u pin this ?

— I think it was pinned at one point

— ^ :P

— Is it still pinned? I can't see it, maybe I have clicked the x icon