This is not true�?? while IE7 doesn't support most of the technologies commonly referred to as "HTML5", the simple doctype works for IE7. For example, see our sample that shows new query functionality at 10.1: http://help.arcgis.com/en/webapi/javascript/arcgis/demos/query/query_statistics.htmlThat sample uses the simple doctype and works w/o issue in IE7. As Kelly pointed out, the real issue is the trailing comma.
This line:<!doctype html>at the top of the page says the page should be rendered using HTML5. IE7 does not support HTML5.
<!doctype html>
app.printer = new esri.dijit.Print({ "map": app.map, "templates": templates, url: app.printUr, <---- Trailing comma is here----> }, dojo.byId("print_button")); app.printer.startup(); }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.