Question:
HTML Question? Please help?
Joshua
2013-04-01 23:52:07 UTC
I need help with my HTML. I learnt XML but it doesn't work. It keeps on giving me NETWORK_ERR 101.
I use Google Chrome on a Windows Vista (which i can't update) and I am doing this offline.

People keep on saying that it gives you that error if you are trying to access from a different server but I'm not.
I think it is giving my the error because I am working offline.

Please Help
If you don't I will be very sad :'(

PS is there any other way to save data so every user can access it. That's what I want XML for
Thanks
Three answers:
Anon
2013-04-01 23:56:07 UTC
Go to pcmatic.com and download the free software that should make the error message go bye bye.
Charles R
2013-04-02 07:45:26 UTC
It is hard to tell what you are trying to do in your question. HTML is only part of the answer to your problem. You will need JavaScript. If you need help with this try this page http://www.w3schools.com/js/default.asp#gsc.tab=0 If as I suspect you want to try to do an AJAX (XMLHttpRequest) call from your HTML you are not creating an AJAX request so it sees this as foreign. The operating system makes no difference as XML and HTML are both operating system independent. If you are trying to incorporate XML directly into your HTML use XHTML which is HTML as XML.

The answer to your PS is yes you can save the data so every user can access it and AJAX is the answer to your problem. If you are not familiar with it start here http://www.w3schools.com/ajax/default.asp#gsc.tab=0 Make sure that you set the async parameter to true. I will admit that this is old school and while it still works that way and the concepts are the same it is more common to use jQuery http://api.jquery.com/jQuery.ajax/ is the base AJAX call but jQuery offers a rich set of choices http://api.jquery.com/category/ajax/ will show the rich number of choices available I also want to point out that XML is not your only choice I find that I prefer JSON for this task you can learn about this at http://www.w3schools.com/json/default.asp#gsc.tab=0
Mark
2013-04-02 09:44:41 UTC
I agree with Charles R, w3scools.com is a very useful website!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...