如何在kendo组合框的更改功能中获取javascript中弹出窗口的名称。 [英] How to get the name of the popup window in javascript in the change function of kendo combo box.

查看:61
本文介绍了如何在kendo组合框的更改功能中获取javascript中弹出窗口的名称。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试了这些代码

document.getElementsByTagName(form)

var $ form = $(activelement).closest('form');

$('form')。validate()。showErrors(errorArray);

var form = this.currentForm;

$(this).closet( 'form')

$(this.form input [name ='id'])[0]

this.form;



这些都将获得主窗体的名称,而不是弹出窗口。请帮帮我

Tried these codes
document.getElementsByTagName("form")
var $form = $(activelement).closest('form');
$('form').validate().showErrors(errorArray);
var form = this.currentForm;
$(this).closet(‘form’)
$(this.form input[name='id'])[0]
this.form;

These all will get name of the main form not the pop up window. Please help me

推荐答案

form =


(activelement).closest('form');
(activelement).closest('form');


('form')。validate()。showErrors(errorArray);

var form = this.currentForm;
('form').validate().showErrors(errorArray);
var form = this.currentForm;


这篇关于如何在kendo组合框的更改功能中获取javascript中弹出窗口的名称。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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