Home > front end >  Bosses to help the younger brother
Bosses to help the younger brother

Time:11-08

I want to achieve and 1, 2, 3 in the middle of the picture can be replaced by a label inside address, but when I tried several times to click 1 always jump to another page, I want to know why, I also added a return false in the click event, why always jump, solving,

CodePudding user response:

It is recommended to use a custom attribute,
 


 
The console. The log (this. The dataset. Url)//picture address

CodePudding user response:

Forbid link jump with
Event. The preventDefault ()

CodePudding user response:

This is equivalent to a hyperlink, you, click must jump

CodePudding user response:

Use the custom properties by js control image url
  • Related