Tuesday, November 28, 2017

How to change label text using Javascript

1. Make the new ID for <label>
2. Loaded first the label element when script is executed.

Cara mengubah isi text pada label menggunakan Javascript

1. Buat <label> ID baru yang unik.
2. Pertama sekali pastikan <label ID> telah aktif ketika hendak menjalankan Javascript.

Wednesday, November 22, 2017

Cara Mengambil Nilai pada Auto Increment di Mysql

Cara mengambil nilai atau angka yang tersimpan pada Auto Increment di Mysql adalah sebagai berikut:

How to get the next auto-increment id in mysql

Do you want the next id, or the id of the row that you are currently inserting? That is, should the id at the end of the payment code be the id of the row in which the payment code is stored?

How to change label text using Javascript

1. Make the new ID for <label> 2. Loaded first the label element when script is executed.