如何在jquery中删除ct100 [英] how to remove ct100 in jquery

查看:76
本文介绍了如何在jquery中删除ct100的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我检查时,我在本地主机中获取此ct100_ContentPlaceHolder_txt100。但是当我在服务器中看到它时,它在服务器中作为ContentPlaceHolder_txt100发布时。



所以jquery验证不起作用。

Plz建议我..帮助我

i am gettin this ct100_ContentPlaceHolder_txt100 in my local host when i inspect.But when i see it in the server it is coming as ContentPlaceHolder_txt100 in the server when published .

So the jquery validation is not working.
Plz suggest me..help me

推荐答案

试试这样



Try like this

var control =


' #<%= txt100.ClientID%>');
('#<%= txt100.ClientID %>');


你可以读到......

You can read like...
var txt100 = document.getElementById('<%= txt100.ClientID %>');


这篇关于如何在jquery中删除ct100的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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