Quick simple request please:
Can you advise on how to change placeholder of a text area programmatically.
Quick simple request please:
Can you advise on how to change placeholder of a text area programmatically.
Hi Adrian,
Please try the following code:preApperyio("mobiletextarea_X").attr("placeholder", "Some text");/preWhere mobiletextarea_X is a textarea name and Some text is any text you need.
Perfect, thanks Katya.
How would I change the font color of the placeholder text with javascript?
I tried
pre
Apperyio("inputName").attr("placeholder", "some text ").css('color','#ff0000');
/pre
and
pre
$("[name=a1]").attr("placeholder", "some text ").css('color','#ff0000');
/pre
They both changed the placeholder text to 'some text'
but neither of these changed the text color.
Hi Joe --
Please take a look here: http://stackoverflow.com/questions/14...
Thank you.