Hi, how are you?
<!-- html -->
<style>
foo {
border-right: 1px solid black;
}
</style>
<div id="foo"></div>
$('#foo').mosedown(function(e) {
// // event code
}
I want to process the mouse event only on the border-right part when I choose from js.
The entire div tag is processed as a mouse event, so I can't write the code I want
Is there a good way?
html5 javascript
<div="foo"></div>
It's written like this.
I want to give an effect, but why don't you just give me id="foo"
?
https://jsfiddle.net/h4yvsq8x/15/ It's nothing special.
It's a sloppy answer, but if you have any problems, please comment! <
623 Uncaught (inpromise) Error on Electron: An object could not be cloned
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
578 Understanding How to Configure Google API Key
922 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.