I need help jQuery soft reject

#1

Hi all,

I need help for these soft rejects.

  1. PROPER EVENT BINDING: Consider using the preferred .on() method rather than .click(), .bind(), .hover(), .load(), .ready(), etc. For best performance and concise code use event delegation whenever possible: https://codepen.io/32bitkid/post/understanding-delegated-javascript-events

  2. CACHE JQUERY OBJECTS: Please cache your jQuery selectors to improve performance: https://jsperf.com/why-cache-jquery-selectors

Please anyone help me.

Thanks
Nadir Ali

#2

Hi @DesignsNinja,

These are pretty much self-explanatory :slight_smile: If you provide us with a bit of your jQuery code, we can point you in the right direction.

Thanks,
Luca

#3

Hi,

Please find the attachment, I have attachment my item js file

Thanks & Regards,

#4

Hi.
If in code you have .click () etc change to .on (‘click’)

#5

I’m afraid I can’t preview your code. Would you mind sharing it on codepen?

Thanks,
Luca

#6

can you check my item js file, I have attach the js

Thanks & Regards,

#7

When I’m at the computer I will try to help, somewhere around 23 … Sorry

#8

ok no issue.

Thanks & Regards,

#9

Can you give a link to js code?

#10

Hi Buddy,

I fixed js errors, thank you so much for helping me. My item has been approved.

Thanks & Regards,

1 Like