Skip to main content

Bug Tracker

Side navigation

Ticket #4440: jstest.html

File jstest.html, 0.9 KB (added by bradcupit, March 27, 2009 10:37PM UTC)

test case for ticket 4440

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

<html xmlns="" xml:lang="en" lang="en">
		<!-- jQuery 1.3.1, 1.3.0, and 1.2.6 all work in IE 8, but 1.3.2 does not -->
		<script type="text/javascript" src=""></script>
		<script type="text/javascript">
			var visible = true;

			function toggleText() {
				if (visible) {
					visible = false;
				} else {
					visible = true;
		<button onclick="toggleText()">Toggle Text</button>
			<tr class="text">
				<td>This is the text that will be hidden/shown</td>
			<tr class="text">
				<td>more text</td>

Download in other formats:

Original Format