Home » Archive

Articles tagged with: JavaScript

JavaScript, web development »

[19 Oct 2010 | One Comment | ]

Multiple html buttons within single HTML label

When placing multiple html buttons within single html label, the following issue was found. Especially when using with the JavaScript functions for both buttons. The following code demonstrates the problem clearly. This example uses JQuery library
HTML code
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Div Drag/Resize Demo</title>
<script src="js/jquery.min.js"></script>
<script type="text/javascript">
 
$().ready(init);
function init(){
$(‘#txtinsert’).click(function(){alert("button1")});
$(‘#display’).click(function (){alert("button2")});
$(‘#display1′).click(function (){alert("button3")});
}
</script>
</head>
<body>
<label>
<input name="txtinsert" type="button" id="txtinsert" value="Insert Test" />
<input name="display" type="button" id="display" value="display" />
<input name="display1" type="button" id="display1" value="display1" />
</label>
</body>
</html>
 
In the …

Common, email, facebook, web development »

[4 Aug 2010 | One Comment | ]

iZoneDevelopers have introduced new facebook application to send free emails directly from facebook. The major benefit of this application is that, there is no need to login into your email accounts. Also this application provides WYSIWYG editor (word processing editor) while enable you to type and format your emails just in clicks. we are happy to inform that based on the success of this application we’ll add new features and also will provide free email addresses to all the users of facebook application.
Please follow the following link to use the …

featured, Headline, JavaScript, web design, web development »

[30 Jul 2010 | One Comment | ]
Confirmation using JavaScript

While I’m looking through the websites I have seen several websites are using server side scripting such as php,asp.net, jsp etc to get the confirmation from the users previous action.
I’ll make it clear with a small example…
When a user wants to delete a post, the user clicks on the delete button or link that performs the delete operation. Once he clicked usually the most best appropriate manner is to get confirm from the user whether he really wants to delete the post or he clicked that mistakenly. Because if he …

featured, Headline, JavaScript, phpMyAdmin »

[11 Apr 2010 | 5 Comments | ]
Turbo pma (Enhanced PhpMyAdmin)

Modify the phpMyAdmin interface to allow easy and quick access using Ajax and provide basic and advanced interfaces to ease up the basic functionalities. Add new features such as Easy query builder and pma phptoolkit (OOP pattern) to increase the flexibility and the accessibility of the users. Separate HTML and JavaScript parts from php codes where ever possible to make css and jQuery integration easier for future development.
Benefits to the users

New enhanced clean interface with Ajax will provide easy and speed access to the users.
Users able to generate php forms …

Common, featured, JavaScript, Open Source »

[9 Apr 2010 | 3 Comments | ]

The following code demonstrates how the codes will look like. For example in navigation link the following code pattern will be used. If the JavaScript enabled it returns false to the caller which stops (it prevents the click) the usual html hyperlink navigation. If JavaScript is disabled then JavaScript function will not work and therefore by default it’s true and the normal hyperlink navigation will be executed.
Example code :
//JavaScript Function
Document.getElementById(“linklist”).onclick=getList;
function getList()
{
// The Ajax Call for the function in getlist.php file
………..
………..
………..
return false;
}
//Html
<a href=”getlist.php” id=”linklist” />
When the hyper link clicked, first the …

featured, Headline, Word Press »

[5 Apr 2010 | 22 Comments | ]
WP Connect -Connect the world!

What I’m suggesting is that by creating a plug-in or by adding a new module in the core of the wordpress and let all the wordpress users to publish their blogs and wordpress website in all websites and other blogs just by adding a piece of JavaScript.
The concept of this plugin is very simple. We can publish our articles and webpages (which designed using wp) in other blogs or in websites easily by adding a small code. We dont have to edit anything when ever we make new posts. No …