What is href=[removed];

前端 未结 8 1057
天命终不由人
天命终不由人 2020-12-31 18:42

in a code which i am goin through there is a link has href=javascript:; in code.when it is clicked it opens a lightbox to show some msg with close button.how is it done.I th

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-31 19:09

    I believe this just indicates that your link is going to perform some javascript function. Usually you couple this by hooking up events on the link e.g. OnClick/OnMouseMove

提交回复
热议问题