Changing the “placeholder” attribute of HTML5 input elements dynamically using Javascript

后端 未结 6 1135
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-15 16:03

I\'m trying to dynamically update the HTML5 placeholder attribute of a text field using jQuery.

$(\"textarea\").attr(\"placeholder\", \"New plac         


        
6条回答
提交回复
热议问题