JavaScript :
We can disable or enable an input box by setting property true or false respectively by using below code.
Code of input box
Name: <input type="text" id="myName">
To Disable input box.
document.getElementById("myName").disabled = true;
To Enable input box.
document.getElementById("myName").disabled = false;
jQuery :
If you are using jQuery 1.6+ then you should use the .prop()...
April 23, 2016
April 17, 2016
JavaEE : oracle.jdbc.OracleTypes for CallableStatement.registerOutParameter with SYS_REFCURSOR
This is a procedure which has one out parameter of SYS_REFCURSOR type.
PROCEDURE p_get_data(query_result OUT SYS_REFCURSOR);
In java for working out with this procedure you need to import ojdbc14.jar and need to set registerOutParameter type as OracleTypes.CURSOR
import oracle.jdbc.driver.OracleTypes;
CallableStatement callStmt = connection.prepareCall("{call p_get_data(?)}");
callStmt.registerOutParameter(1,...
April 2, 2016
Oracle SQL Developer : Display both date and time

SQL Developer date and time column returns only date so if you want to see both date and time on SQL developer then you have to make just a small change in SQL Developer's Preferences.
Go to Tools >> Preferences
Preferences >> Database >> NLS
set the Date Format as...
Popular Posts
- Top 100 Free Proxy Sites – Free Proxy Servers List
- Error Project facet Java version 1.6 or 1.7 is not supported in eclipse
- Wamp Server BarPicturePicture Directive error that Could not able to load WampServer
- Error,account is locked,Warning you no longer connected to Oracle,Problem when connecting to HR account in Oracle database
- Error: Starting Tomcat v6.0 server at localhost has encountered a problem in eclipse
- Error! Problem in linking css file in jsp in Dynamic web Project with eclipse
- Oracle Database : System error 5 has occurred. Access is denied
- Error [solved] The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- Error-JavaEE[Solved] : m2e Maven Dependency Plugin Install in Eclipse
- FormData.delete() and FormData.set() do not support Internet Explorer
Disclaimer
We shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its response or damage to your system. We do not guarantee that the integrity or security of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. Anyone communicating with us by email accepts the risks involved and their consequences. We accept no liability for any damage caused by any virus transmitted by this site.