我如何更改标题 [英] how can i change title

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

问题描述

我们可以从后面的代码中调用我们的Java脚本函数吗?

和plz可以帮助我更改此会议方框的标题.
最近正在显示
该页面在LocalHost上说:

我不想使用此标题,我想使用自己的标题.

can we call our java script function from code behind???

and plz help me can i change the title of this confermation box.
recently it is displaying
The Page At LocalHost says:

i dont wana use this title i want to use my own title.
how can i do this?

推荐答案

是的,可以从后面的代码中调用javascript函数:
yes can call javascript function from code behind :
protected void Page_Load(object sender, EventArgs e)
  {

      if (!IsPostBack)
      {
           btnSend.Attributes.Add("onclick", "return fnTest()");
      }
 }


这篇关于我如何更改标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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