urwa Posted April 27, 2009 Share Posted April 27, 2009 I have an xml file that contains quite a few fields that are blank. What should I do to the code to allow blanks?It mostly has the problem in firefox.site:http://urwa.org/stewardship/plantdetails.a...=Callery%20pearxml:http://www.urwa.org/stewardship/genxmldetail.xmlThank you! Link to comment Share on other sites More sharing options...
justsomeguy Posted April 27, 2009 Share Posted April 27, 2009 I don't see anything I would characterize as a problem, I see a page with information for 2 fields and no information for the rest. I don't see any errors. Link to comment Share on other sites More sharing options...
urwa Posted April 27, 2009 Author Share Posted April 27, 2009 When I open it in Firefox and look at the error console it shows a property error. When I open it in internet explorer is says object expected. there should be more fields filled out than the first two.Thank you Link to comment Share on other sites More sharing options...
jesh Posted April 27, 2009 Share Posted April 27, 2009 When document.getElementById('x') says that it "has no properties", it's a really good indication that there aren't any elements in your document that have an id of 'x'.This is the error I get in Firefox: document.getElementById("Manager") is nullhttp://urwa.org/stewardship/plantdetails.a...=Callery%20pearLine 39Looking through your HTML, I see that you have a span in there with an id of "manager", not "Manager". You might try modifying either the id of that span to be "Manager" or the javascript to be document.getElementById("manager"). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.