you asked, Do the iframe and its parent page use the same html doctype?
yes, I believe the doctype is
type="text/javascript"
this is the start of the page source (index.php)
<html>
<head>
<title>RLL .::. Production</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="Private">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<script language="Javascript" type="text/javascript">
this is the start of the frame source
<html>
<head>
<link href="../inc_v2/css/common.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript" src="..validateWorkOrder.js"></script>
<script language="JavaScript" type="text/javascript">
var jsAction = "Enabled"
both the parent and iframe are generated from php
.............................
you stated, I can see that the <li tag is open, it would not work as <li> without the ">" but there is script within the <li too.
this is what I get with chrome's inspect, which shows the closing </li>
<li name="EXAMPLE" id="36" "="" onmouseover="hover(this, 'hover');" onmouseout="hover(this, '');" onclick="selectSuggestion(this, 'txtCompany', 'intCompanyID', 'txtCompany_suggestions');" <strong="" class="">EXAMPLE</li>
[edited by: not2easy at 10:18 pm (utc) on Jun 17, 2016]
[edit reason] Please use "example" to replace site/brand specifics [/edit]