如何创建动态图标给他们的课程? [英] How to create dynamic icons giving them classes?

查看:60
本文介绍了如何创建动态图标给他们的课程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Ajax代码从php文件中获取乘客的身份。来自php的数据定义的图标数量和图标(与外观相同)必须显示在html页面中。图标必须是可调用的,因为我使用bootstrap popover,当用户来到某个图标时,必须在popup中显示有关passsenger的信息。我该怎么做?

这是脚本

I am getting id of the passengers from a php file,using Ajax code.The number of icons defined by the data coming from php, and the icons(same with appearance) must be shown in the html page.The icons must be callable because I am using bootstrap popover ,when the user come to some icon the information about passsenger must be shown in popup.How can I do that?
Here is script

展开 | 选择 | Wrap | 行号

推荐答案

我无法理解你想做什么。有些代码会很好。
I am having trouble understanding what you want to do. Some code would be nice.


@Rabbit我会编辑我的问题。
@Rabbit I will edit my question.


你编辑了你的描述吗?因为我仍然无法理解你想说的话。
Did you edit your description? Because I still have trouble understanding what you''re trying to say.


这篇关于如何创建动态图标给他们的课程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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