Link in input text field

前端 未结 8 896
余生分开走
余生分开走 2020-12-17 21:43

HI All,

I know this is bit strange question, but please suggest.

I want to create a link on website url content in input type\"text\" field not any other htm

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-17 22:23

    You could simply do this :

    So whenever somebody clicks the textbox, it works as a link, and since it's read only, there wont be any text input/change.

    Be careful tho, for it wont look like a regular link and might cause confusion, or may be misinterpreted as a normal textbox.

提交回复
热议问题