Javascript error "Class doesn't support Automation" when inserting a form

  •  03-26-2007, 6:14 PM

    Javascript error "Class doesn't support Automation" when inserting a form

    Hi All,
     
    I am getting an error when trying to copy and paste a form into the editor. The form consists of a few hidden fields and one image button.
     
    I am able to place the form and all of the hidden fields in the editor without a problem.  However, when I put the image button in there, and switch views (like from Normal view to HTML view), I get this:
     
     
     
     
     
    I'm not sure what the problem could be.  Has anyone seen this? 
     
    Here is an example form code I am trying to enter:
    <form name="addtocart" action="/onlinestore/AddToCart.aspx" method="get">                                                                                                                  
    <input type="hidden" name="price" value="10000">
    <input type="hidden" name="supportlevel" value="Please Select">
    <input type="hidden" name="ship" value="0">
    <input type="hidden" name="ESD" value="1">
    <input type="hidden" name="productid" value="theProduct">
    <input type="hidden" name="itemcount" value="1">
    <input type="image" src="http://cutesoft.net/images/interface/button_addtocart.gif"  width="92" height="19" alt="Button Add to Cart" name="update" />
    </form>

     
    I also noticed that a lot of extra attributes get added to the <input> tags, but I guess that isn't a big deal.. unless someone knows how to stop that from happening also.
     
    I believe our version of the editor is 4.2.. I don't quite remember, but it is at least 4.0.
     
     
    Thank you,
    Nathan
     
View Complete Thread