从C#.Net和ASP.Net页面调用Java脚本 [英] Calling java script fromC#.Net and ASP.Net pages

查看:259
本文介绍了从C#.Net和ASP.Net页面调用Java脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助.我非常擅长使用ASP和C#.net.我有一个使用C#Asp.Net创建的网络应用,其中包含2个文本框.当用户开始在textbox1中输入内容时,我需要禁用textbox2,反之亦然.我该怎么做?我使用VB.net和javascript找到了一些信息,但在C#.net上却找不到任何信息.

Please help.  I am vey new at working with ASP and C# .net.  I have a web app, created in C# Asp.Net, with 2 text boxes.  I need to disable textbox2 when a user starts typing into textbox1, and vice versa.  How do i go about doing this?  I have found some info, using VB.net and javascript, but nothing on C#.net.  The code i currently have, seems to execute only when i click a button.

推荐答案

您好,

对于 asp.net,请发布 至: .

,谢谢,
哈里


这篇关于从C#.Net和ASP.Net页面调用Java脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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