Archive

Archive for July, 2007

Change Form Action and Method attributes

Jul 15th, 2007

In case you want your form action value changed based on certain condition then you can do this using simple JavaScript. In this way you can submit your single form to any of your scripts based on condition.
Here you will also find tricks for changing the method attribute of the form using JavaScript.
<script type=”text/javascript”>

function changeAction [...]

Submitting two Forms at Once

Jul 15th, 2007

This is the general problem fresher struck in form submission. They struck in some logical problem and try to find their solution in submitting two forms in a web page at same time.
But answer to this question is simple. You cannot do this in general.
You can change action attribute’s value based on some condition. You [...]

Design Dynamically Generated Data for Excel Sheet

Jul 11th, 2007

Many times you may have created excel sheet dynamically by server side script and you may have thought that for adding color and header etc. is possible only using spreadsheet software. This can be done by person who will use this generated sheet.
You can add color and other designs to your dynamically created excel file.

Add [...]

Unique numerical ID for Order Number, Invoice, table index or other usage

Jul 8th, 2007

Unique Identification issue specially targeted for invoice, ecommerce

Unique Identification for file/ folder name, ID, table key, invoice/ order number

Jul 8th, 2007

We require unique identifier for dynamically created file, folder, invoice etc. This post is related to getting unique id for these kind of work.

Save Your Web Page’s Visual Space

Jul 3rd, 2007

This is an example of how to save visual space of web page using show-hide div, p, etc. Click on Details and see the effect.On first click it will expand and on next click it will become hidden.
.hide {display:none;} .show {display:block;} .hover1 {cursor:pointer;color:blue;}
function toggleView (id) { [...]

Programming Language Rank June 07

Jul 3rd, 2007

This is a programming language rank for June 2007. PHP is at number Five position, which is very good.
Source: TIOBE

PositionJun 2007
PositionJun 2006
Delta in Position
Programming Language
RatingsJun 2007
DeltaJun 2006
Status

1
1

Java
20.025%
-1.10%
A

2
2

C
15.967%
-2.29%
A

3
3

C++
11.118%
+0.45%
A

4
4

(Visual) Basic
9.332%
-0.85%
A

5
5

PHP
8.871%
-0.72%
A

6
6

Perl
6.177%

+0.17%
A

7
8

C#
3.483%
+0.25%
A

8
7

Python
3.161%
-0.30%
A

9
10

JavaScript
2.616%
+1.16%
A

10
19

Ruby
2.132%
+1.65%
A

11
13

PL/SQL
2.015%
+1.06%
A

12
11

SAS
1.766%
+0.39%
A

13
9

Delphi
1.573%
-0.82%
A

14
18

D
1.253%
+0.77%
[...]