开发者

xslt dropdown problems

I have a page with two drop down boxes created in a xslt.

I am using onchange in both blocks to call a javascript function. If both drop downs are loaded on the page only the first drop down has a working onchange.

I checked the view 开发者_开发技巧source code and it shows both onchange events.

Does anyone have any idea how to fix this?

ex: two drop downs, select first one, it refreshes, select second it does nothing, select first one and it still refreshes.

code removed.


For a start, you should put in a

<xsl:output omit-xml-declaration="yes" />

declaration into your XSLT. The interspersed XML declaration should not be in the HTML.

The HTML you show does not exhibit any other immediate problems (apart from UPPERCASE tag names *shudder*). If there is a problem, then it is a browser subtlety (some browsers don't fire the change event until the focus leaves the form field) or a JavaScript problem in submitForm();.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜