HTML img alt Attribute – GEMCODE

screenshot e1635170356861

Definition and Usage The required alt attribute specifies an alternate text for an image, if the image cannot be displayed. The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader). Example An image … Read more

Hide alert Message After Few Seconds With JQuery ?

hidealertmessage

Display an alert box after 20 seconds (20000 milliseconds): To Hide alert Message use .hide in setTimeout Tips: The setTimeout() method calls a function or evaluates an expression after a specified number of milliseconds. Tip 1: 1000 ms = 1 second. Tip 2: The function is only executed once. If you need to repeat execution, … Read more

Hide “Load More” Button When All Items Displayed ?

load more

If You Want To Hide ‘load more’ Button When All Items Displayed Even Items Are 7 or 10 or 25…Just Hide ‘load more ‘ Button When All Items Loaded. Both .size() and .length identify the number of items: Note: This method has been removed in jQuery 3.0. Use the .length property instead. One Two Three … Read more

Disable Copy or Paste action for text box?

DISABLECOPYPASTECUT

I have Three solutions in my mind: First Is –> Use ——-> oncopy=”return false” onpaste=”return false” Name: Second is –> With Jquery ,Use e.preventDefault(); Name: Third is –>With Jquery , Use return false Name: