JavaScript无效按钮保存单击 [英] JavaScript is Not working On Button Save Click

查看:67
本文介绍了JavaScript无效按钮保存单击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我。谢谢提前

描述:HTTP 404.您正在寻找的资源(或其中一个依赖项)可能已被删除,名称已更改,或暂时不可用。请查看以下网址,确保拼写正确。



请求的URL:/ ContributionReceipt / master / 0

pls help me.Thanks In Advance
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /ContributionReceipt/master/0

string t = "<script type='text/javascript'>window.open('contributionreceipt.aspx?Name=" + ddlaccount.SelectedItem + "&Name1= " + ddlpanno.SelectedItem + "&Name2= " + receiptno + "&Name3= " + date + "&Name4= " + txtname.Text + "&Name5= " + txtfathername.Text + "&Name6= " + txtaddress.Text + "&Name7= " + txtdistt.Text + "&Name8= " + txtstate.Text + "&Name9= " + txtmobileno.Text + "&Name10= " + txtamount.Text + "');</script>";
                  Response.Write(t);

推荐答案

尝试替换下面的javascript



*如果脚本也在contribreceipt.aspx页面



window.open(window.location +''?Name = .... so on
try replacing javascript as below

* If script is also in contributionreceipt.aspx page

window.open(window.location+''?Name=....so on


这篇关于JavaScript无效按钮保存单击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆