weixin_33743248 2016-12-08 09:29 采纳率: 0%
浏览 35

是否可以在手机上将方形的颜色更改为绿色?

在php的帮助下,我正在jQueryMobile中制作计划(组织者)应用程序。这个应用程序非常基本,但我有个问题:是否可以在手机上将方形的颜色更改为绿色?有人告诉我,火狐或Ajax可以一试。但当我在谷歌上搜索一圈后,并没有找到任何东西。那么你们有什么建议来解决这个问题呢?

  • 写回答

2条回答 默认 最新

  • 7*4 2016-12-08 10:28
    关注

    As Daan pointed you what you're really looking for to achieve something that you described are websockets. Though you could use a polling approach with jquery to do the same, it really isn't as elegant as using websockets. There are a lot of websocket libraries available for which a detailed answer is given in this stackoverflow thread

    Firebase is a backend and simplifies a lot of the development for you especially to build real time applications like the one you wanted to. Have a look at Firepad. Open it up on two different browsers and you'll be able to see it's real time nature. As you edit on one browser screen, the content will appear on the other.

    You can use this as a starting point, look into it's code on github and build your app. I think you could consider building apps with meteor

    评论

报告相同问题?

悬赏问题

  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 unity第一人称射击小游戏,有demo,在原脚本的基础上进行修改以达到要求
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)