Skip to main content

Posts

Showing posts with the label google chrome

Debugging php application with xdebug, netbeans and Google Chrome

Debugging PHP application is a pain. When we get problems, we often to use var_dump() or die() in various location to inspect the variables and then clean them again once the problem is solved. Fortunately, there is a piece of software called xdebug which can tremendously help us debugging php code. This article is about using xdebug in linux environment.

Debug javascript dengan Google Chrome

Buat halaman html yang akan dibuat. Contoh: hapusaja.html <html> <head> </head> <body> <script type="text/javascript"> function Sajikan() { Sel = document.getElementById( "PILIHAN" ); alert( "Mangga dahar " + Sel.options[ Sel.selectedIndex].value ); } </script> Mau buah apa? <select id="PILIHAN" onclick="Sajikan()"> <option value="Gedhang">Pisang</option> <option value="Kates">Pepaya</option> <option value="Pelem">Mangga</option> </select> </body> </html>