发送电子邮件至网站部门
我发送了 8 封电子邮件,并从电子邮件链接到 1 个网页。
如果 1 封电子邮件是关于特定主题的,我希望链接能够转到该网页并显示 8 个选项中该主题的 DIV。
我认为这是 javascript,如果是这样的话,有什么脚本可以使用吗?
我希望这是有道理的,但我很乐意澄清。我想我需要 javascript 来读取 id GET 变量
谢谢
I have 8 emails being sent out and 1 webpage where they are linked to from the email.
If 1 email is about a particular subject I would like the link to go to the webpage and show a DIV on the subject out of the 8 choices.
I presume this is javascript and if so how, and are there any scripts out there I can use?
I hope this makes sense, but I'm happy to clarify. I think I need javascript to read the id GET variable
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您已向同一网站发送了 8 封电子邮件?
让电子邮件链接到一个 URL,并附加一个 ID 作为 GET 变量:
然后您可以使用服务器端脚本或 JavaScript 来读取
id
GET 变量。You have 8 emails sent out that link to the same website?
Have the emails link to a URL with an ID appended as a GET variable:
Then you can use server-side scripting or JavaScript to read the
id
GET variable.尽管@Greg 的方法很有用,但我会使用锚点,例如:
Despite @Greg's approach being usefull, I would use anchors for that matter, like :