0
How I paas blank space in .val()?
$("#id").val()....How to paas blank space in this??
3 Réponses
+ 3
it's simple. Do like this
$("#id").val(" ");
Another example:
$("#id").val("A" + " " + "J");
+ 3
And if this doesn’t work, try add CSS rule: white-space: pre;
0
If you want to pass empty space just by adding double quote inside
$("#id").val(" ");