Commit 851054de authored by Alessandro Portale's avatar Alessandro Portale

Doc: remove jquery from to-title-case tool

We should not keep a (very outdated) copy of jquery in or sources just
to implement one event handler.

Change-Id: I168e1240be402642cb8a4fe85204ae9e2a750818
Reviewed-by: default avatarNiels Weber <>
Reviewed-by: default avatarLeena Miettinen <>
parent c4a0c695
This diff is collapsed.
......@@ -4,17 +4,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Qt Title Case</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="to-title-case.js"></script>
<script type="text/javascript">
return false;
document.addEventListener('DOMContentLoaded', function() {
var button = document.getElementById('button');
var untitled = document.getElementById('untitled');
var titled = document.getElementById('titled');
button.addEventListener('click', function() {
titled.value = untitled.value.toTitleCase();
<body><div id="container">
<h1>Qt to Title Case</h1>
......@@ -23,7 +24,7 @@
<form id="tester" action="">
<input id="untitled" type="text" value="Turn me into a title" />
<input type="submit" value="Convert &rarr;" />
<input id="button" type="button" value="Convert &rarr;" />
<input id="titled" type="text">
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment