Giter Site home page Giter Site logo

Comments (3)

liero1982 avatar liero1982 commented on June 30, 2024

在FireFox51.0.1(64bit)上出现的,EDGE、IE、世界之窗(Chrome内核)上正常。

from xheditor.

liero1982 avatar liero1982 commented on June 30, 2024

尽管在EDGE上xheditor源代码没出现上述问题,但在代码容器DOM中img[0]却被报“无效指针”,而img[1]及之后的图片都没问题。

from xheditor.

liero1982 avatar liero1982 commented on June 30, 2024

终于发现是什么问题了,害我花了2个小时。
原来是我返回的地址页面中,最前面多了个chr(10),而起因却是因为php美化惹的祸——在<?php前硬生生地添加了一行!而返回的数据,各大浏览器处理却不一样:中firefox是前台给图,代码转义;EDGE等是代码中加了个转义的chr(10),所以用js操作时出现错误,最后在EDGE看到源码中src=后面多了个转义换行符才发现!!!

from xheditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.