Category: Java Frameworks
jQuery EasyUI datagrid | How to solve “no text wrapping” problem
See the screenshot below : Line no 7 and 8 indicate problems due to no word wrapping Solution : Use Javascript property ‘nowrap=false’ in your datagrid creation. Code : <table id=”dg” title=”Activity Info” class=”easyui-datagrid” style=”width:100%;height:81%” toolbar=”#toolbar #searchtoobar” nowrap=”false” rownumbers=”true” fitColumns=”true”
Javascript | How to write code in Adobe Acrobat
Steps to write script in Adobe Acrobat Pro 1. In Adobe Acrobat Pro, open Tools panel on the right, and search for Action wizard. 2. Double click on Action Wizard to open it. Click on New Action Wizard. It will
Database Connectivity with Selenium Webdriver
How to connect to Mysql in Selenium script? Step 1: Import Mysql connector (JDBC driver): Download connector from: Find-ur-pal Download this jar file and import in Eclipse : MySQL-connector-java-5.1.18-bin.jar Follow these steps in Eclipse: Add the downloaded Jar to your
JavaScript/HTML | Get Id of inner child element
Suppose from html code below we want to get id of each <a> element inside home_menu. <ul id=”home_menu” class=”appendmenu” style=”float: left”> <li> <span class=”arrow sep”>►</span> <a id=”breadcrumb_mainc3″ style=”cursor:pointer;color:#087bb1;”>Programming Courses</a> </li> <li> <span class=”arrow sep”>►</span> <a id=”breadcrumb_sc34″ style=”cursor:pointer;color:#087bb1;”>Javascript </a> </li> <li>
Javascript | How to change form action dynamically
Suppose on click of an element we want to change the form action URL. In this example, we are assuming a textbox in which user will type a value and then click search magnifying glass icon. On click of search
Netsuite | Authentication/Login to Netsuite sandbox account through java code using Netsuite WSDL
Authentication/Login to Netsuite sandbox account through java code using Netsuite WSDL In order to login to your sandbox Netsuite sandbox account via code, you need to have below files handy: 1. Netsuite sandbox WSDL: The latest version of wsdl can
Salesforce | How to call apex method using Javascript
We can call apex method from javascript using JavaScript remoting. Javascript remoting has three main parts : 1. Invoke remote method written in javascript method on Visualforce page. 2. Remote apex method contains an annotation @RemoteAction. 3. The response handler
jQuery line control HTML editor | Post data to server
In jQuery line-control editor, values written inside writing space (div) do not get posted to the server by default. This is because although we create textarea while coding, at run time a DIV is created in which user writes. Editor.editor
LESS Introduction | Dynamic CSS styling
LESS is an open source CSS pre-processor designed by Alexis Sellier in 2009. It is not exactly CSS but acts like one with the help of Javascript libraries that interpret the stylesheet and make it readable for browsers. The very