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

Search In

How to set a type on buttons

The default value is submit, meaning any button in a form can submit the form. Use type="button" for anything that doesn't submit the form and type="submit" for those that do. <button type="submit">Save changes</button> <button type="

Sample Forms with Alloy UI Tag Libs

In Liferay 6.2 we can use the forms with Alloy UI tags . The Alloy UI Tags can provide the way to do activity with Simple Alloy UI forms same as HTML forms tags. By the below Example we can show how to use Forms with Alloy UI. Example: <%@ tagli

How to trigger an event using Javascript "addEventListener()" method.

Hello Readers, Their are many ways in javascript and jquery where we can trigger an event using Id or Class. Here's the example of how we can trigger the event using "addEventListener()" method. Let's suppose we have have button having id="myBtn".

CountDownTimer in Android

CountDownTimer is an abstract class available in android. This class contains two abstract method i.e. onTick(long) and onFinish(). onTick(long millisUntilFinished): Callback fired on regular interval. onFinish() : Callback fire

Change the URI of remote repository

Reset the remote URL : Git provides the ' git remote set-url ' command to reset the remote URI.The other way to reset the remote URI is first delete the current URI and then again use git remote add command. Following is the syntax of change the remo

Architechture of Katana

Architechture of Katana based application: There are four layers of Katana based applications: Application layer- Application layer is the client. e.g. your website built in Asp.net MVC , or console or windows application. This is used by end use

How to touch UI from background or seperate thread ?

We know that Android UI or views can be touch from Main thread only , but if we want to update some UI from background or separate thread then we have to use one of the following way :- AsyncTask has 4 override methods that are onPreExecute(), doIn

How to read ActionRequest parameters?

If you have defined an input field as below: <aui:input type="text" name="emailId" value="<%= emailId %>" /> then, you can read the value of emailId parameter in action method by the following ways: 1- HttpServletRequest realRequest

What is 35 Helpful HTML & HTML5 Interview Questions & Answers ?

Whether you’ve studied HTML, HTML5, or other web development languages via college courses, online courses, boot camps, or self-study, there will come a time when you need to get a job and the gateway between you and gainful employment is the intervi

How to give background color to superview only with alpha less than 1.0

Hi, In many cases we have to give a background color to a superview with alpha less than 1.0. If we give color from XIB/storyboard to a superview with alpha 0.4 then it assigns the alpha 0.4 to its subviews also. What if we need to give alpha 0.4

1 92 363
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: