Category Archives: JavaScript


From I’m scraping a site using curl (via PHP) and some information I want is a list of products which is by default only showing the first few ones. The rest is passed to the user when they click a … Continue reading

Posted in JavaScript, PHP, Tips | Tagged , , | Leave a comment

Multiple submit buttons in one form

To solve an issue in a web application, I searched for “multiple submit button in one form”. End up I found multiple ways. They both have advantages and disadvantages. First approach, use the script to identify which submit button is … Continue reading

Posted in JavaScript, Tips, VBA/ASP | Tagged , | Leave a comment

JavaScript handling UTF8 characters

When I developed a PHP web application with AJAX. I encountered a problem that JavaScript cannot process utf-8 character correctly. Whenever user enter a UTF-8 string, it was converted to ASCII in JavaScript and delivered to PHP script. The site … Continue reading

Posted in JavaScript | Tagged , , , , , | Leave a comment