
Search In
Hello everyone!!
Today, we will learn how to take screenshots in HTML 5. HTML 5 provide a method called ctx.drawImage(video, 0, 0), by the help of this method we can take screenshots of the video and save it. In this e
Hello friends,
Today we will learn how to upload a file in Joomla. In Joomla, upload() function is used to upload a file from source to destination. This function is similar to PHP move_uploaded_file() function.
Syntax:
JFile::upload($src, $dest)
The typeahead are very important input fields in web forms. The fundamental utilization of typeahead is to enhance the user experience by giving clues or a list of possible choices based in view of the text entered while filling a f
I am using two decorators to decorate a function "add_user", the first one @auth_user authenticates the logged in user via json web token request headers and returns the user's information as an argument "user_info" back to th
Action Result And Return Type
An ActionResult is return type of method/action defined in a controller. ActionResult is a class defined in namespace System.Web.Mvc. Result returned by action/method is called action result. We can return any type of
Following code will help you to add or delete file from document directory.
-(NSString *)saveFileWithOldName:(NSString*)oldNameStr
{
NSArray *dirPaths;
NSString *docsDirs;
NSString *tempStr2;
dirPaths = NSSearchPathForDirectoriesInDo
If you would like to change your facebook profile picture with php or jquery. You can use below code for the same.
Please download facebook.js from Facebook SDK.
<script src="//code.jquery.com/jquery-latest.min.js"></script>
<script
Sometimes wee need to call an API or action to get matching list with the provide keyword in Search box, for this we usually implemente autocomplete feature to input field for searching purpose by doing AJAX call.
Example: In the below example I'm u
Sometimes we need do functionality when we select any item from the suggestions that display by autocomplte feature.
Example: In the below example I'm using autocomplete() function to get suggestions with the provided keyword. As below by implementi
Hello Guys
I configured office365 email in liferay to send email via smtp by using below properties :
mail.session.mail.transport.protocol=smtp
mail.session.mail.smtp.user=admin@domain.com
mail.session.mail.smtp.password=m8Kw
mail.session.m
