Prev: solutions manual
Next: can text-overflow be used to clip an overflown line instead of aline's overflown part?
From: JRough on 1 Aug 2010 18:26 I have this display page in php. I enclose the view source from I.E. 7. I don't understand why I can see all the source in IE 7 and not in Chrome? In Chrome it cuts off the view source after the end table table and the submit1 at the asterisks. Most of the data rows are removed, but you can see there is a selection box for searching on zone num, zoneid and bu, and then there are table headers and rows of data. The anchor links are pages that let the user go to the next page of data. I tried to close all the table rows and definition tags. Can you tell me why it works in IE and not Chrome? THANKs, <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Print Barcode Labels</title> <script type="text/javascript"> function checkscript() { if ( ele.search_bu.value ) { if ( !ele.search_zoneid.value && !ele.search.zonenm.value ) { return 1 } else if ( !ele.zoneid.value && ele.zonenm.value ) { return 1 } } else { return 0 } } function fillZoneNm() { var bu = document.forms[0].search_bu.value; if ( window.XMLHttpRequest ) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); }else{ // code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { document.getElementById("search_zonenm").innerHTML=xmlhttp.responseText; } xmlhttp.open("GET","get_bus.php?bu=" + bu,true); xmlhttp.send(); } function fillZoneId() { var zonenm = document.forms[0].search_zonenm.value; if ( window.XMLHttpRequest ) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); }else{ // code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { document.getElementById("search_zoneid").innerHTML=xmlhttp.responseText; } xmlhttp.open("GET","get_zonenms.php?zonenm=" + zonenm,true); xmlhttp.send(); } function printFromHere(){ var xhr = document.forms[0].search_zonenm.value; if ( window.XMLHttpRequest ) {// code for IE7+, Firefox, Chrome, Opera, Safari xhr=new XMLHttpRequest(); }else{ // code for IE6, IE5 xhr=new ActiveXObject("Microsoft.XMLHTTP"); } xhr.onreadystatechange = function() { if(xhr.readyState == 4) { if(xhr.status == 200) document.getElementById('printer_response').innerHTML="Received:" + xhr.responseText; else document.getElementById('printer_response').innerHTML ="Error code " + xhr.status; } } xhr.open(GET, "print_test.php", true); xhr.send(null); } </script> <style> .ast { color:red; } td {font-family:verdana; font-size:12px; line-height:12pt;} th {font-family:verdana; font-size:12px; line-height:12pt;} .txt1 {font-family:verdana; font-size:20px;} a:link {color: blue; text-decoration: none;} /* unvisited link */ a:visited {color: blue; text-decoration: none; } /* visited link */ a:hover {color: #FF00FF} /* mouse over link */ </style> </head> <body> <h2 align='center'>Print Bar Code Labels</h2> <form action='/tools/cart_inventory/print_labels_form5.php' onsubmit1='return checkscript();' method='post'><a href='admin.php'>Admin Menu<a/><br> PAGE: <table align='center' style='border:1px solid ;'> <tr><th align='right'>BU</th> </tr><tr><td><select name='search_bu'id='search_bu'onChange='fillZoneNm();'> <option value=''>Select BU</option> <option value='081' SELECTED>08132</option> <option value='081' >081</option> </select> </td></tr><tr> <th align='right'>Zone Number</th> <td><div id='search_zonenm'> <select name='search_zonenm' id='search_zonenm'> <option value=''>Select Zone Number</option> <option value='BIRTH CONTROL' >BIRTH CONTROL</option> <option value='CIIIS' >CIIIS</option> <option value='CIIS' >CIIS</option> <option value='CLINIC' >CLINIC</option> <option value='COMPOUND' >COMPOUND</option> <option value='controlles' >controlles</option> </select> </td></tr><tr> <th align='right'>Zone ID</th> <td><input type'text' name='search_zoneid' id='search_zoneid' size='9' class='txt1'></td> </tr> <tr><td colspan='13' align='center'><input type='submit' name='submit1' value='Search'></td> </tr></table> No of Records: 1746 <table border='1' style='border:1px solid #CCCCCC' align='center'> <th>BU</th> <th>Location</th> <th>Zone<br /> Number</th> <th>Zone<br /> ID</th> <th>NDC</th> <th>Item ID</th> <th>Description</th> <th>UPC</td> <th>NDC<br />UOM</th> </tr> <tr class='gry'> <td style='border:solid black 1px;padding:5px;'>081</td> <td style='border:solid black 1px;padding:5px;'>OPRx</td> <td style='border:solid black 1px;padding:5px;'>BIRTH CONTROL</td> <td style='border:solid black 1px;padding:5px;'>0222</td> <td style='border:solid black 1px;padding:5px;'>00062176115</td> <td style='border:solid black 1px;padding:5px;'>00062176115</td> <td style='border:solid black 1px;padding:5px;'>ORTHO-NOVUM 1/35 TAB 28 DAYS 168/BX</td> <td style='border:solid black 1px;padding:5px;'></td> <td style='border:solid black 1px;padding:5px;'>BX</td> </tr> <tr class='wht'> <td style='border:solid black 1px;padding:5px;'>081</td> <td style='border:solid black 1px;padding:5px;'>OPRx</td> <td style='border:solid black 1px;padding:5px;'>BIRTH CONTROL</td> <td style='border:solid black 1px;padding:5px;'>0222</td> <td style='border:solid black 1px;padding:5px;'>00062178115</td> <td style='border:solid black 1px;padding:5px;'>00062178115</td> <td style='border:solid black 1px;padding:5px;'>ORTHO-NOVUM TAB 28 DAYS 168/BX</td> <td style='border:solid black 1px;padding:5px;'></td> <td style='border:solid black 1px;padding:5px;'>BX</td> </tr> </tr> </table> ********************************** <table><tr><td>No Pages: 350 <br /><a href='/tools/cart_inventory/ print_labels_form5.php?page=1&bu=08132&zonenm=&zoneid='>1</a> <a href='/tools/xxxxxx/print_labels_form5.php? page=2&bu=081&zonenm=&zoneid='>2</a> <a href='/tools/xxxxxx/print_labels_form5.php? page=3&bu=081&zonenm=&zoneid='>3</a> <a href='/tools/xxxxxxxxxxxxxxx/print_labels_form5.php? page=4&bu=081&zonenm=&zoneid='>4</a> <a href='/tools/xxxxxxx/print_labels_form5.php? page=5&bu=081&zonenm=&zoneid='>5</a> </td></tr></table></form></body> </html>
From: Jonathan N. Little on 1 Aug 2010 20:27 JRough wrote: > I have this display page in php. I enclose the view source from I.E. > 7. I don't understand why I can see all the source in IE 7 and not in > Chrome? In Chrome it cuts off the view source after the end table > table and the submit1 at the asterisks. > Most of the data rows are removed, but you can see there is a > selection box for searching on zone num, zoneid and bu, and then there > are table headers and rows of data. The anchor links are pages that > let the user go to the next page of data. I tried to close all the > table rows and definition tags. Can you tell me why it works in IE > and not Chrome? THANKs, > <snip a lot of markup> Why is it so hard for some to understand in this NG we require a *URL* to the page in question, and only snippets of markup *if required* to point out the suspected problem area? -- Take care, Jonathan ------------------- LITTLE WORKS STUDIO http://www.LittleWorksStudio.com
From: Stan Brown on 2 Aug 2010 03:11 On Sun, 01 Aug 2010 20:27:11 -0400, Jonathan N. Little wrote: > Why is it so hard for some to understand in this NG we require a *URL* > to the page in question, and only snippets of markup *if required* to > point out the suspected problem area? It's not hard to understand. The problem is that people swoop in and post their question without reading the newsgroup first. I don't think there's a solution -- it's just one of the annoyances we have to live with in today's Usenet. -- Stan Brown, Oak Road Systems, Tompkins County, New York, USA http://OakRoadSystems.com/ HTML 4.01 spec: http://www.w3.org/TR/html401/ validator: http://validator.w3.org/ CSS 2.1 spec: http://www.w3.org/TR/CSS21/ validator: http://jigsaw.w3.org/css-validator/ Why We Won't Help You: http://diveintomark.org/archives/2003/05/05/why_we_wont_help_you
From: dorayme on 2 Aug 2010 04:04 In article <MPG.26c03996e6ecaff498c4d4(a)news.individual.net>, Stan Brown <the_stan_brown(a)fastmail.fm> wrote: > On Sun, 01 Aug 2010 20:27:11 -0400, Jonathan N. Little wrote: > > Why is it so hard for some to understand in this NG we require a *URL* > > to the page in question, and only snippets of markup *if required* to > > point out the suspected problem area? > > It's not hard to understand. The problem is that people swoop in and > post their question without reading the newsgroup first. > > I don't think there's a solution -- it's just one of the annoyances > we have to live with in today's Usenet. No, one day I will succeed where Napoleon failed and all will be well. Have patience, both of you. -- dorayme
From: Jeff North on 2 Aug 2010 04:21 On Sun, 1 Aug 2010 15:26:56 -0700 (PDT), in comp.infosystems.www.authoring.stylesheets JRough <jlrough(a)yahoo.com> <6a21dd51-af59-4b51-9c9c-d3eb5eb270b8(a)v35g2000prn.googlegroups.com> wrote: >| I have this display page in php. I enclose the view source from I.E. >| 7. I don't understand why I can see all the source in IE 7 and not in >| Chrome? In Chrome it cuts off the view source after the end table >| table and the submit1 at the asterisks. >| Most of the data rows are removed, but you can see there is a >| selection box for searching on zone num, zoneid and bu, and then there >| are table headers and rows of data. The anchor links are pages that >| let the user go to the next page of data. I tried to close all the >| table rows and definition tags. Can you tell me why it works in IE >| and not Chrome? THANKs, [snip code] You might want to validate your page - there are 43 Errors. Once you fix those then the print source may work. http://validator.w3.org
|
Next
|
Last
Pages: 1 2 Prev: solutions manual Next: can text-overflow be used to clip an overflown line instead of aline's overflown part? |