Category : Web Programming

[Resolved] Firefox getElementById(‘id’).focus() NOT WORKING

Not like other web browsers, Firefox won't execute getElementById('yourid').focus() function in your javascript code. However, you can use...

Continue Reading →

MySQL and PHP – insert NULL rather than empty string

Normally, you add regular values to mySQL, from PHP like this: function addValues($val1, $val2) { db_open(); // just some code to open the DB...

Continue Reading →

JQUERY To Open Page on Specific Button Keypress

Simply add this below JQUERY function in your html/php page : $(function() { $(document).keypress(function(event) { var ch =...

Continue Reading →

CGI Proxy – Web Based Proxy Yang Lebih Tangguh daripada PHProxy

Seperti penjelasan saya di artikel sebelumnya, kita bisa melewati internet limitation di sebuah tempat dengan memanfaatkan PHProxy. kelemahan dari...

Continue Reading →

Treating a Subdirectory Like a Web Root Directory in XAMPP

Case: You have created a website called zabath, and able to access the website by going to http://localhost/zabath. So, You would like to set...

Continue Reading →

Mengisi HTML Input type text Berdasarkan Name dengan JQuery

Tinggal tambahkan script dibawah ini  pada kode anda: $('input').val('value')

Continue Reading →

Menjalankan Javascript ketika Page di Load Menggunakan JQuery

Gampang, Tinggal ganti baris ini : alert("Page loaded."); dengan script yang ingin anda jalankan. Done.   <script...

Continue Reading →

Disable Enter Key in HTML Form

Normally when you have a form with several text input fields, it is undesirable that the form gets submitted when the user hits ENTER in a field....

Continue Reading →

Cara Termudah Export PHP menjadi File Excel

Buat Sebuah database mysql dengan nama 'datasiswa', field dan content nya seperti gambar dibawah...

Continue Reading →

Confirmation Popup When Open Link / Click Button in HTML/PHP

Simply MODIFY This below Code, it should work directly in your html/php page :   <a href="delete.php" onclick="return...

Continue Reading →