Fire oninput event with jQuery

前端 未结 7 956
太阳男子
太阳男子 2020-12-02 22:47

I have an oninput event on a textarea to check the height and resize it. Now I need to edit the value sometimes. I do this just by editting the val() in jQuery, but that doe

7条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 23:14

    push RUN CODE SNIPPET for seeing results

    i've been searching for a better example to join an input range to an input value and so i modified Fernando's example in a JQuery plugin ,so : for every you'll have his value: so is like for any parent range id="range1" there is a child id="value" class="range1"

    
    
    
    
    1
    2
    3
    4
    ...
    n

提交回复
热议问题