Skip to main content

Bug Tracker

Side navigation

Ticket #4440: jstest2.html

File jstest2.html, 1.0 KB (added by bradcupit, March 27, 2009 10:53PM UTC)

second test case demonstrating problem with both tr and td

<?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 class="text">This is the text that will be hidden/shown</td>
				<td class="text">#2</td>
			<tr class="text">
				<td class="text">more text</td>
				<td class="text">again</td>

Download in other formats:

Original Format