Tag : javascript

[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 →

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 →

Populate Dropdown List Based On Selection of Other Dropdown List – Jquery

It is Simple. Copy jquery-1.10.1.js to your web directory And Use this following kind of code in your html page: <select...

Continue Reading →

Preselected Dropdown From Another Dropdown Menu in HTML

Cara dibawah ini bisa digunakan ketika ingin memilih default value pada dropdown menu di php/html. //BUAT TERLEBIH DAHULU DROP DOWN MENU...

Continue Reading →