A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Tag Archives: Javascript

Adding / Modifying a table row using javascript

I have written a short and simple example on how you can add a row using JavaScript. The row added will have an Id, onMouseOver and onMouseOut functions, and a class name assigned into it. Click here for the article. … Continue reading

Posted in General | Tagged | Leave a comment

Adding and Removing a List Item to a List Using Javascript dynamically

There are a couple of ways to do this but I find this one the simplest. First, you create your HTML Code such as below: <strong>Below is a list item:</strong> <a href="#" onclick="addListItem(‘the_list’); return false;">add item</a> <input id="list_counter" value="2" type="hidden" … Continue reading

Posted in General | Tagged | Leave a comment