using “?” in SVG href

☆樱花仙子☆ 提交于 2019-12-11 04:28:59

问题


I'm having some major problems trying to get a "?" inside of hrefs that are part of my SVG scripts. I want to link to other parts of my website from inside of my SVGs, and most of my pages are dynamic that require $_GET variables to create them on the fly. SVG seems to throw a spaz every time I try to include question marks inside the href, but I need to do that in order to deliver the $_GET variables... is there another way??!


回答1:


Have you try to replace it with the ascii code instead? ? In the same way that you have to replace the & by &



来源:https://stackoverflow.com/questions/649270/using-in-svg-href

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!