
Search In
How To Manage Asynchronous Tasks Using the Task Object
You want the responsiveness that asynchronous programming in the Microsoft .NET Framework 4 provides, but also need your asynchronous methods to work with other code in your application.
Tasks
Hello all,
Working with Rich Text Editor, some times we need to disable Tab Key, which creates space between two text or HTML Elements inside the Editor.
To do that we have following block of code:
In HTML Page :
<div id="editor" onkeydown="re
Hello reader's in this blog I will guide you how to import "Wordpress functions in custom.php file?".
First Create a custom.php file into your theme and put your code into it.
Below is the example of image crop function into custom.php :
<?php
Hello all,
When we create our UI design of HTML page, and we want to put specific div at the center of the page, we can do that with the help of CSS (Cascading Style Sheet). we can set the width of the div to a certain pixel and set the margin attri
In many applications we have to create form that contains both EditText and TextView. The look and feel of EditText and TextView are completely different. So for making the TextView appearance similar to EdiText we have to specified its style attribu
Hello Readers!
If you want to parse any HTML page then you would you "Simple HTML DOM Parser".
How to get HTML elements:
Create DOM from URL or file
$html = file_get_html('http://www.example.com/');
Find all images
foreach($html->find('img'
Here I have created a Email validation function .By used this function we can check user input value like example (sachin@gmail.com)in this example validation function checked string value are proper format or not .In my below code I have clearly des
Laravel 5 is the latest version of Laravel. If we want to install Laravel 5 in our system then we have to write simple command to run the project.
composer create-project laravel/laravel test-laravel-5-project --prefer-dist
Here test-laravel-5-pr
In this post we will see a simple code example which illustrates how to use the ThreadPool to queue up tasks in a multi-threaded environment. We first need to create an object that contains information required for the task. This object will be pass
Hello Readers if you want to send the array into another PHP page then you can use the code below:-
I have array made by function .push. In array is very large data. How is the best way send this to PHP script?
dataString = array(a->b); // arra
