stroudtx
asked on
onClick="changeAction(' Script missng and needed
I've been running this site for years with this page working fine. I updated IE to 8 and now if shows a warning on this line. I searched for the changeadction funtion and it's not there. The problem is the form name is the shopping cart which is dynamic. Any suggestions on how to add the funtion and make the warning go away?
<form action="<%=cStr(Request.ServerVariables("SCRIPT_NAME"))%><%=WA_eCart_IIf((Request.ServerVariables("QUERY_STRING") <> ""), "?" & Request.ServerVariables("QUERY_STRING"), "")%>" method="post" name="eCart_1_ATC_<%=product_details.Fields("Product_ID").value%>" class="formstyle" id="eCart_1_ATC_<%=product_details.Fields("Product_ID").value%>">
<input type="image" src="Elements/addtoregistry.gif" border="0" value="Add To Cart" name="registry_1_ATC" onClick="changeAction('<%=cStr(Request.ServerVariables("SCRIPT_NAME"))%><%=WA_eCart_IIf((Request.ServerVariables("QUERY_STRING") <> ""), "?" & Request.ServerVariables("QUERY_STRING"), "")%>');" alt="Add to Registry">
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER