Articles tagged with: web development
JavaScript, web development »
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, Open Source »
Well the topic seems worrying lots of people, specially the open source lovers. But there were some rumors lots of people talk about is “End of MySQL”. When sun micro systems brought mysql people say that’s the rebirth for MySQL and afterward, oracle brought sun microsystems. Now people say as since oracle wants to promote their database, they need to demote the popular competitors. Which means MySQL is one of the major competitor for oracle, because its free and more people uses it.
In my opinion it’s a false statement because …
Common, JavaScript, Open Source, phpMyAdmin »
phpMyAdmin is the well known tool to mange mysql server and now phpMyAdmin integrating jQuery for interface changes and improvements. jQuery is one of the famous javascript library which makes the development easy and have more features such as UI elements. The jQuery is used in modifications and the new features additions where the javascript is used and also in near feature the whole phpAdmin interface can be changed to implement ajax features as well.
With the use of ajax, the access speed will increase and the user interface will be …
