
Search In
To update a a field in the database in cakephp we uses an array,
the task is done as,
$this->request->id = $id;
$data=array();
$data['User']['id'] = $this->request->id;
$data['User']['fname'] = $filename;
$this->User-&g
Inline styles are those defined in the HTML itself, e.g.
<p>
This is an
<strong style="color: red;">inline style that should be blue</strong>.
</p>
Inline styles have the highest priority of all CSS
Opening a .pdf file in new window
On the First page write the following code:-
string Url = "Wite the url of the page to be opened";
ClientScript.RegisterStartupScript(this.GetType(), "", "window.open('" + Url + "');", true);
On the second page
Following steps are required to find out the coordinates on a page:
Step1: Download the file from the location
http://code.jquery.com/jquery-1.6.3.min.js
Step2: Write the script under the script tag of the aspx page
In the below code you can automate the web page using QTP and can find the text with the checkbox adjacent to it .
Create a description property with micclass for web checkbox.
Set oDesc = Description.create()
Set oDesc = Description.create()
oDesc
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 richtext editor at time we have to wrap any content with para tag.
To do that we have following code packet.
in HTML we have:
<div>
<ul>
<li><input type="submit" onclick="wrapWithP" /></li&g
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
Hello all
To calculate characters inside HTML Editor we can use following block of code:
In HTML side we have :
<div id="editorDiv" contenteditable="true" onkeydown="calculateChar()">
</div>
In JavaScript we have :
function calculat
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
