<form name="frm1">
<input type="text" size="3" value="1" name="quantity" maxlength="3" ><input border=0 height=17 name=add2cart src=images/add2cart.gif type=image width=75 onclick=javascript:popwin3()>
</form><script language=javascript>
function popwin3(){
var Quantity = frm1.quantity.value
//int a = quantity.value;
alert("a="+Quantity);
//document.shopaddtocart.submit = false;
//Return false;
window.opener.document.location.href = "shopaddtocart.asp?add2cart=<%=mytext%>&productid=<%=lngCatalogId%>";
window.close();
}
</script>
<input type="text" size="3" value="1" name="quantity" maxlength="3" ><input border=0 height=17 name=add2cart src=images/add2cart.gif type=image width=75 onclick=javascript:popwin3()>
</form><script language=javascript>
function popwin3(){
var Quantity = frm1.quantity.value
//int a = quantity.value;
alert("a="+Quantity);
//document.shopaddtocart.submit = false;
//Return false;
window.opener.document.location.href = "shopaddtocart.asp?add2cart=<%=mytext%>&productid=<%=lngCatalogId%>";
window.close();
}
</script>
解决方案 »
- Jquery.Pagination页数刷新问题
- Script56.chm 2006版 有没有中文版的?
- 硕思魔法菜单 DHTMLMenu的使用问题
- 求一正则表达式!!!急,50分
- 急求return a.toString().replace(/^(\d)$/, "0$1") 什么意思?
- 重分感谢!请问谁有xmlhttp在jsp下使用的例子?
- 请教:同一个页面的不同的FRAME之间怎么传递参数??
- 请问怎样检验用户点击“取消”按钮?
- win7系统下在cmd中 输入npm run dev后,项目能正常跑起来,但是整个cmd窗口就不能再输入任何东西了,这个怎么解决?
- 为什么这个框架用JS获取不了里面的元素,好奇怪哦,大神们进来看看
- 请教js操作表单问题。。
- 急!急!急!请帮忙:如何用代码扫描div内有多少个vml的图形以及图形的类型,位置????
回应的都有分