1
將mailto添加到此ASP.NET MVC3代碼的正確語法是什麼?這不工作,既沒有使用雙引號的作用:如何在模型錯誤消息中包含mailto鏈接
ModelState.AddModelError("", "We could not locate the email address you entered. Please check the email address. If you believe it is correct, please contact us by sending an email to <a href='mailto:[email protected]'>Support</a> from the email address you are attempting to use.");
你是什麼意思 「不工作」?你得到什麼HTML? – 2013-03-06 13:56:01
這是什麼在瀏覽器中顯示:一個電子郵件到Support – radiusx2 2013-03-06 14:07:15
所以這意味着文本正在編碼服務器端..恐怕沒有多少你可以做,除了可以添加全球JavaScript將其轉換爲實際的鏈接。如果可行,讓我知道,我會來樣。 – 2013-03-06 14:09:25