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?

Monday, July 31, 2017

Tuesday, June 27, 2017

Bagaimana cara singkat melakukan refresh CSS di Chrome, Firefox dan IE?

Pembaca Budiman, hari ini aku ini menshare bagaimanakah cara singkat (short-cuts) melakukan refresh CSS di Chrome, Firefox dan IE?
Untuk para developer (programmer) yang masih memiliki jam terbang belum banyak dalam penerapan CSS di aplikasi web, maka refresh CSS untuk melihat tampilan dilayar secara interaktif sangat diperlukan sekali.

Monday, June 26, 2017

How to get the name of country, state, city, etc are using the PHP

Dear readers, how web PHP can get the location where a web application is used by a user. Today, we can use the facility to know the location of the user is located from Geoip (Geolocation by IP Address) portal.

Explanations can be reviewed in full at https://geoip-db.com/. In this portal described various script code to read a location via IP. The codes are:
      JSON object       - https://geoip-db.com/json
      JSONP callback - https://geoip-db.com/jsonp 
                                or https://geoip-db.com/jsonp/54.191.123.456
      A jQuery example with html markup
      A plain JSONP javascript example, no jQuery required.
      PHP script
      A C # .NET WPF script

These are the example PHP scripts of Geoip (Geolocation by IP Address):

How to change label text using Javascript

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