Jquery / Javascript无法正常工作 [英] Jquery/Javascript not working
问题描述
我正在网页上工作如下:
- 可折叠面板,因为它有很多字段(为此目的使用了Accordian风格)
- 3个基于Checkbox启用/禁用字段集的Javascripts
- Jquery根据下拉列表显示/隐藏表格,如果他们选择0则没有显示,如果他们选择1行1节目和selct 2来显示2行等等。
我面临的问题是脚本和查询是分开工作的,但不是在它们组合在一起时。请帮忙!!!
以下是代码:
I am working on webpage which has following :
- Collapsible panel as it has lot of fields( have used Accordian style for this purpose)
- 3 Javascripts to enable/disable set of fields based on Checkbox
- Jquery to show/hide the tablerows depending upon the dropdown so if they select 0 nothing shows, if they select 1 row 1 shows and selct 2 to display 2 rows and so on..
The problem I am facing is that scripts and query works separately but not when they are combined together. Please help !!!
Below is the code :
推荐答案
有人可以帮忙吗?
你用不同版本包含jQuery三次。在这种情况下,如果进展顺利,这将是一个奇迹。
you include jQuery three times with different versions. in that case it would''ve been a miracle if that went well.
你可以建议我如何在这种情况下达到预期的结果?
can you please suggest me how can I achieve the desired result in that case ?
>
这篇关于Jquery / Javascript无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!