Jquery Tags Input – Change Delimiter

This is how change the delimiter in Jquery Tags Input.
Misalkan delimiter yang semula , diganti menjadi ;

Silahkan buka pada file jquery.tagsinput.js kemudian cari pada baris 184 untuk option delimiter, kemudian ganti dengan delimiter yang diinginkan :

var settings = jQuery.extend({
      interactive:true,
      defaultText:'add a tag',
      minChars:0,
      width:'300px',
      height:'100px',
      autocomplete: {selectFirst: false },
      'hide':true,
      'delimiter':';',
      'unique':true,
      removeWithBackspace:true,
      placeholderColor:'#666666',
      autosize: true,
      comfortZone: 20,
      inputPadding: 6*2,
    },options);

5 Komentar

  1. mumet ah ….

    • dasar orang aneh (taser)

  2. neng ucrit ini plurker kan?
    sering liat sih nongol di plurk orang

    maap oot
    hehehe

    • iya helga aku kan seleb plurk, temenan yuk di plurk :D

  3. kayak ganti delimiter di SQL yak (aha)

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

Ikuti

Get every new post delivered to your Inbox.

Bergabunglah dengan 1.199 pengikut lainnya.