JSP下拉列表onChange [英] JSP dropdownlist onChange

查看:127
本文介绍了JSP下拉列表onChange的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用.jsp文件作为下拉列表中onChange的参数吗?像这样:

Can i use a .jsp file as a parameter for onChange in a dropdownlist? Like this :

<td><select name="transporter" onchange="debusTransporter.jsp">

推荐答案

答案为否.

onchange

onchange属性设置并返回更改事件的事件处理程序.

The onchange property sets and returns the event handler for the change event.

  • 已注册以通知事件的任何功能或对象,
  • ,或更具体地说,是通过HTML和其他Web API(例如<button onclick="alert(this)">window.onload = function() { /* ... */ })中的on ...属性或属性的on ...注册事件侦听器的机制.
    • any function or object registered to be notified of events,
    • or, more specifically, to the mechanism of registering event listeners via on... attributes or properties in HTML and other web APIs, such as <button onclick="alert(this)"> or window.onload = function() { /* ... */ }.
    • w3.org ONCHANGE-SELECT
    • reference.sitepoint.com onchange

    这篇关于JSP下拉列表onChange的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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