在html代码中获取jquery模态或框 [英] get jquery modal or box in html code

查看:83
本文介绍了在html代码中获取jquery模态或框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里我附上了图片



第1张图片,1stimg.png,显示当我点击房间的盒子时,它显示为前面的一个方框如图所示/>


http://imageshack.com/a/img713/ 9260 / h7zp.png [ ^ ]







在第二张图片,2ndimg.png,当点击添加房间时,它显示一个div添加如图所示。



http:// imageshack .com / a / img7 / 7995 / n4uz.png [ ^ ]





如何做到这一点.. ??这是一个jquery,怎么做????







问候

maulik shah< / pre>

如何做到这一点.. ??这是一个jquery,怎么做????







问候

maulik shah

解决方案

是的,那是 jQuery



在添加房间点击事件中,您只需要在房间1的第一组控件之后向Div添加5个控件。



5个控件是......

  • Room 2 :A 标签
  • 成人()标签
  • 儿童标签
  • DropDown (选择框)成人
  • DropDown (选择框)儿童

Here i have attached images

the 1st image , 1stimg.png , shows when i click on room box , it shows be a box ahead as shown

http://imageshack.com/a/img713/9260/h7zp.png[^]

and

in 2nd image , 2ndimg.png , when add room clicked ,it shows one div added as shown.

http://imageshack.com/a/img7/7995/n4uz.png[^]


How to do that..?? Is that a jquery , how to do this ????



regards
maulik shah</pre>
How to do that..?? Is that a jquery , how to do this ????



regards
maulik shah

解决方案

Yes, that is jQuery.

On "Add room" click event, you just need to append 5 controls to the Div after the first set of controls for "Room 1".

5 controls are...
  • "Room 2" : A Label
  • "Adults()" : A Label
  • "Children" : A Label
  • DropDown (select box) for Adults
  • DropDown (select box) for Children


这篇关于在html代码中获取jquery模态或框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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