私は2つのクラスを持っています、私は入力でattrファーストクラスで取得したいです。どうですか?
クラス: 1。
オートコンプリート2.
日付
<input class="autocomplete date">
$('input').attr(class)
//output 'autocomplete date' i want output this: 'autocomplete '
敬意を表して。
私は2つのクラスを持っています、私は入力でattrファーストクラスで取得したいです。どうですか?
クラス: 1。
オートコンプリート2.
日付
<input class="autocomplete date">
$('input').attr(class)
//output 'autocomplete date' i want output this: 'autocomplete '
敬意を表して。