Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to make a simple file reader using Javascript

Hello Readers, If you developing the website to browse any file and showing its's content on the web page, Then by using Javascript you can do this as follows:- function readSingleFile(e) { var file = e.target.files[0]; if (!file) { return;

Dynamically adding ListViewItem to Listview

To dynammically add new elements into listview we need a Edittext(etAddItem) to input the item/element, a Button(btnAdd) for adding item to the list, and a listview which shows elements in a vertical scrolling manner. etAddItem = (EditText)f

Create, Edit and Delete Crontab Jobs

Hello readers, today we will discuss about Crontab jobs. Q. What is crontabs? Ans- Cronjob is a service or we can say its a tool that run in backend periodically at fixed times, dates, or intervals. The crontab is a list of commands that you want

Cookie in php its uses and types

Hello Readers A cookie is often used to identify a user. It is a small amount of information that sent by a server to a browser and after that sent back to the browser. The below is the syntax of cookie: Syntax: setcookie(name, value, expire, p

How to reload the webpage if user make no activity

Hello Reader's! If you are looking for functionality for reloading a web page only when user makes no activity for a while, Then you can use the ajax technology for making the html tag refresh. Lets see the example below:- <html> <head

Discussion on zend2

Welcome to Findnerd. PHP owners modified the zend framework that is zend framework 2. We can simply download the framework setup from github that is known as zend skeleton application. Below is the link to download. https://github.com/zendframework

How to clone an object in JavaScript?

The best way to clone an object in javascript is to use $.extend(). We can use it in two ways:- 1.Shallow copy 2.Deep copy 1.The syntax for shallow copy is: var newObject = jQuery.extend({}, oldObject); 2.The syntax for deep copy is: var newObjec

How to modify the URL of the current page without reloading the page in JavaScript?

To modify the URL without reloading,a pushState method has come in HTML5 which is quite same as window.location but does not refresh or reloads the page. This method will first check if the browser supports HTML5,then the state object containing the

How to set - unset layout in CakePHP ?

How to set/unset layout in CakePHP ? CakePHP provides by default layout in (app/View/Layouts/default.ctp) file, so we need different layouts for different pages as per our requirement. Change the default layout in all web pages var $layout = 'myla

How to retain the selected value in the dropdown after page refresh ?

To retain the selected value in the dropdown on refresh, sessionStorage is used to store the value within the user's browser. First, the values have to be set using sessionStorage.setItem("SelItem", selVal); SelItem is a variable in which we are sett

1 103 342
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: