Available'); Instead of a checkMark image, I need a chekMar...">

How to put checkMark as a character?

$("#status").html('<img src="available.png">Available');  

Instead of a checkMark image, I need a chekMark character.
Is there any way please?

+5
source share
6 answers

Try

$("#status").html('&#10003;');
+10
source

You can use U + 2713 (mark Mark βœ“):

$("#status").text("\u2713 Available"); 
+11
source

&#10003;

&#x2713;

- , - . ,

βœ“ βœ“

+3
+3

:

Decimal:

&#10003;

:

&#x2713;

: $("#status").html('&#10003;');

+2

-.

( ) . , Google, , , .

, , Unicode (.html("&#10003;") .text("\u2713"), - . , : https://material.io/icons/#ic_check

Google ( ) - : https://google.imtqy.com/material-design-icons/

- : / . - Unicode:

  • ( , - , )
  • ( - , )
  • ( , \u2713 , <i class="myfont">check</i>
  • : unicode, - , , . , wikipedia , , , . webfont , , .
  • : webfont , / .. .
0

All Articles