CodeIgniter Image Library For Image Manipulation

While developing any web application there is a need to manipulate image dynamically such as while uploading an image. In this tutorial we are going to explain an example, which shows how to use CodeIgniter’s image library for Image Manipulation. You can find Image_Lib.php class inside your CodeIgniter project’s system/libraries folder. First load image_lib library in your …

Set JavaScript Form Action

In this tutorial, we illustrate you an example, which shows how to set JavaScript form action. Sometimes developers want to set form action attribute of a form through programming or through other means. Here, we are using following JavaScript code to set form action on run time. To set form action attribute via JavaScript : document.getElementById(“form_id”).action = “success.php”; …