提交onchange不起作用 [英] Submit onchange doesn't work

查看:90
本文介绍了提交onchange不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的看不出我的代码中有什么问题...提交()onChange不起作用..


我试过了..

I really can''t see what''s wrong in my code... the submit() onChange doesn''t work..

I''ve tried..

展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号

推荐答案

[HTML] function populate(){


ddlTestCenter = document.getElementById(" regExaminee");

ddlTestCenter =" ddlExamSchedule.do";

ddlTestCenter.submit( );


} [/ HTML]


请替换代码


[HTML ] function populate() {


ddlTestCenter = document.getElementById(" regExaminee");

ddlTestCenter.action =" ddlExamSchedule.do";

ddlTestCenter.submit();


} [/ HTML]


这个。希望这会奏效。尝试并发回你的结果


问候

Ramanan Kalirajan
[HTML]function populate(){

ddlTestCenter = document.getElementById("regExaminee");
ddlTestCenter = "ddlExamSchedule.do";
ddlTestCenter.submit();

} [/HTML]

please replace the code with

[HTML]function populate(){

ddlTestCenter = document.getElementById("regExaminee");
ddlTestCenter.action = "ddlExamSchedule.do";
ddlTestCenter.submit();

} [/HTML]

this. Hope this will work. try it and post back ur result

Regards
Ramanan Kalirajan


谢谢但它仍然无法正常工作..


我还需要一些类的助手吗...因为我有点收到一个错误,即cgi-bin中有一个丢失的文件...


它可能是什么?我没有在网络应用程序中使用任何工具,因为我的电脑相当慢...仅512MB,我使用记事本++ ..如果我使用eclipse或netbeans导致它有一些帮助会更容易...


请...任何人..我能够看到页面..但是当我选择一个选项时,它不会重新加载页面或在选择选项onChange时提交它...


i希望有人能够帮助我...谢谢..
thanks but it still didn''t work..

Do I still need a helper of some class.. cause i kinda receive an error that there is a missing file in cgi-bin...

what could it be? am not using any tool in web app cause my pc is rather slow.. 512mb only, am using notepad++.. it would have been much easier if i''m using eclipse or netbeans cause it has some helper...

please.. anyone.. I was able to see the page.. but when i''ll select an option, it won''t reload the page or submit it when onChange on select option...

i hope someone will be able to help me on this...thanks..



谢谢,但它仍然没有工作..


我还需要一些类的帮助器吗...因为我有点收到错误,有一个丢失的文件在cgi-bin ...


它可能是什么?我没有在网络应用程序中使用任何工具,因为我的电脑相当慢...仅512MB,我使用记事本++ ..如果我使用eclipse或netbeans导致它有一些帮助会更容易...


请...任何人..我能够看到页面..但是当我选择一个选项时,它不会重新加载页面或在选择选项onChange时提交它...


i希望有人能够帮助我...谢谢..
thanks but it still didn''t work..

Do I still need a helper of some class.. cause i kinda receive an error that there is a missing file in cgi-bin...

what could it be? am not using any tool in web app cause my pc is rather slow.. 512mb only, am using notepad++.. it would have been much easier if i''m using eclipse or netbeans cause it has some helper...

please.. anyone.. I was able to see the page.. but when i''ll select an option, it won''t reload the page or submit it when onChange on select option...

i hope someone will be able to help me on this...thanks..



你好功能你从来没有打过电话。请解释我的要求不要与你的代码混淆。只需发布选择控件的onchange就应该转移到哪个页面。您要在哪个组件上提交。请清楚地解释一下。我一定会帮助你。


问候

Ramanan Kalirajan

Hi for that function u have never made a call. Please explain me ur requirement dont confuse with ur codes. Just post onchange of the select the control should transfer to which page. On which component you want to make submit. please explain that clearly. I will surely help u out.

Regards
Ramanan Kalirajan


这篇关于提交onchange不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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