Inspire
Design
Apps
Landing Page
Logo
User Interface
User Experience
Web
Blockchain
DAO
Marketing
Social Media
Management
Leadership
Organization
Growth
Workflow
See All
Design
Graphics
Apps
User Interface
Apps
Web
User Experience
Apps
Workflow
Productivity
Resources
Stock Photos
Vector Graphics
See All
Develop
AI
LLM
Machine Learning
Backend
API
Database
PHP
Node.js
TypeScript
Python
Ruby
Serverless
GoLang
Frontend
Accessibility
HTML
CSS
CSS-in-JS
JavaScript
TypeScript
Next.js
React.js
Vue.js
SEO
DevOps
CI/CD
Cloud
Docker
Server
Reliability
Testing
Static Analysis
Security
Workflow
Git
Shell
Management
Markdown
Markup
Productivity
Blockchain
Network
Smart Contracts
Snippets
PHP
JavaScript
Resources
Backend
Frontend
See All
Market
Social Media
Influencer
Strategy
SEO
Content
Robots.txt
Resources
Social Media
See All
#jquery
Following posts match this tag
How to Get HTML Elements' Text Excluding Children Using jQuery and JavaScript?
If you're in need of retrieving text from an element but want to ignore text from all (or even some) child elements, then check out this article to see a list of techniques and methods you can use. We've also highlighted why and when a particular method is more useful than the other.
blog
5 years ago
How to Check if an Element Is Visible or Hidden in jQuery?
The answer depends largely on how we define visibility of an element. For example: is an off-screen element considered visible? Is an element with zero opacity or CSS property
visibility: hidden
considered visible? In this article we'll look at all these different interpretations and related code to test element visibility.
blog
5 years ago
How to Check If an Element Has Attribute Using jQuery and JavaScript?
With the absence of a hasAttr() method in jQuery it may be difficult for some to check for an attribute's existence on an HTML element. To add to the frustration, commonly used techniques such as double negation, may actually yield unexpected results in certain cases. It is for that reason we've compiled a list of ways to properly check the existence of an attribute on an HTML element using jQuery and JavaScript.
blog
5 years ago
How to Determine the Scroll Direction Using jQuery?
Want to know the direction in which the user is scrolling, both vertically and horizontally, using jQuery? Check out our nifty code snippet that you can easily plug into your existing code. What's even better is that you can easily specify any element selector, other than the browser window, to apply the same detection code to any HTML element on the web page.
blog
5 years ago