Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by JCGrafted

  1. JCGrafted

    Save XML DOM object to XML file

    Hi, thanks for reading. I am in way over my head! I am trying to write a shopping cart from scratch. I am trying to use an xml file to save the cart while the user is shopping. I have called a php page in the head of my html file as follows: <script type="text/javascript"...
  2. JCGrafted

    Want to save shopping cart as XML object

    I got it! I am pasting what worked in case anyone else is having a similar problem. If anyone has a better solution I would still like to hear it. <script language="javascript" type="text/javascript"> var text = ""; var xmlDoc; function init() { //code for IE if (window.ActiveXObject)...
  3. JCGrafted

    Want to save shopping cart as XML object

    In IE the page displays the following: Member: Conference Full 150 T-shirt M 10 Guest: sally T-shirt M 10 Total = 170 In all others it displays nothing. This is just a basic start. I want to make sure I can create an XML object and that I can programmatically add, remove, and...
  4. JCGrafted

    Want to save shopping cart as XML object

    I am writing a store from scratch. I was using cookies. Worked great for mini-cart but found it not flexible enough for cart. I am trying to use XML instead. I am an XML newbie. The following works in IE but nowhere else. <script language="javascript" type="text/javascript"> function...

Part and Inventory Search

Back
Top