Found a total of 10000 related content
jQuery toUpperCase/toLowerCase Example
Article Introduction:JavaScript code snippets used to convert text to uppercase and lowercase. This is a simple example to demonstrate changes to form input values. See: jQuery titleCaps function
jQuery('form').submit(function() {
jQuery('input#value').val(function(i, val) {
return val.toUpperCase();
return val.toLowerCase();
});
});
jQue
2025-03-11
comment 0
671
jQuery Auto Scroll To Top Of Page
Article Introduction:Use jQuery for Smooth, Automated Scrolling to the Top
This simple jQuery code snippet provides a smooth, automated scroll to the top of your webpage. Why use it? It saves users time scrolling on long pages and adds a visually appealing touch.
[Live
2025-03-11
comment 0
1228
jQuery Check if Function Exists Example
Article Introduction:Check if the jQuery function exists: Practical Tips and FAQs
This article provides jQuery code snippets to check whether a function exists in JavaScript code. This can be easily achieved by using the jQuery.isFunction() function, and it is very practical to check if the jQuery function exists before calling it!
function somenoobfunction() {
}
// Use jQuery
if ($.isFunction(window.somenoobfunction)) {
// Execution letter
2025-03-05
comment 0
927
3 Useful Online JavaScript/jQuery Code Tools
Article Introduction:Practical online tools to improve JavaScript and jQuery code efficiency
This article will share some practical online JavaScript and jQuery code tools to help you process your code more efficiently.
Online jQuery code compression tool
This tool is used to compress your JS code and can choose to include the latest version of jQuery.min file, thereby improving website loading speed. Compressed code means smaller file sizes, which in turn improves website loading speed.
Online jQuery code formatting tool
This tool converts compressed code back to a readable "pretty" format, and is also suitable for obfuscated/packaged code. More readable code means faster development speeds.
Online jQuer
2025-03-01
comment 0
392
Back to Top button with smooth scroll
Article Introduction:The "Back to Top" button on long pages is a simple yet useful navigation feature. This button allows users to quickly return to the top of the page without scrolling excessively. Check out the Codepen demo below: Full text: Back to top button CSS code snippet with smooth scrolling
2025-01-07
comment 0
1265
Scroll to Top Using jQuery (Setup time: 2mins)
Article Introduction:Quickly create a website back to top scrolling function (set time: 2 minutes)
This guide will guide you step by step how to set up the Back to Top feature on your website. Just scroll down this page to view the demo.
Download the scrollTo plugin and include it.
Get an image (arrow or similar).
Contains the following HTML code.
Contains the following jQuery/JavaScript code to capture window scrolling and process the display of images.
It's that simple!
HTML
jQuery
This jQuery code displays the image when the user scrolls down, hides the image when scrolling up, and processes click events.
$(document).ready(funct
2025-02-24
comment 0
908
Easy Guide to Install and Use Firebug
Article Introduction:This guide explains how to use Firebug and FireQuery to debug jQuery code within a webpage, alongside HTML and CSS. We'll cover installation, using FireQuery for live code injection, and a practical example.
What is Firebug?
Firebug is a Firefox ex
2025-03-06
comment 0
588
How to use regular expressions in Python
Article Introduction:The key to mastering regular expressions is to be familiar with common functions and syntax. 1. Use re.match to match from the beginning, and re.search to find any position; 2. Common functions include re.findall to return all matches, re.finditer to return iterator; 3. Common syntax such as matching arbitrary characters, \d represents numbers, * represents any occurrence, () for grouping; 4. Regularly, you can also replace text such as re.sub replace numbers, and re.split split strings according to rules; 5. Ignore case and use re.IGNORECASE, and use re.MULTILINE to match multiple lines. If you add more exercises and use them in combination with practical problems, regular expressions will become simple and practical.
2025-07-23
comment 0
625
10 Color Picker Plugins
Article Introduction:Ten awesome jQuery color selector plugins, allowing your website users to easily choose the color they want! Most plugins come with tutorials and are very simple to set up. Enjoy it! :) Featured Recommendations – Chromoselector
Demo Document Download
jQuery color selector
Source code
Simple color selector
jPicker
Source code
Color selector
Source code
ASP.NET Color Selector
Source code
Drupal color selector
Source code
Simple color selector
Source code
Farbtastic color selector
Source code
Super simple color selector
Source code
Izzy color selection
2025-03-06
comment 0
621
10 Awesome jQuery ToolTips
Article Introduction:10 cool jQuery Tooltip plug-ins recommended
We've collected 10 cool jQuery Tooltip plugins you might have never seen before. These plugins provide some simple and effective tooltip options that are easy to implement on your website. Let’s enjoy it together! Related articles: - 10 jQuery Tooltip plugins and tutorials
Pop!
Use Pop!, a simple jQuery interference-free JavaScript plugin to easily create simple drop-down menus.
Source code
BetterTip
A jQuery library plugin that allows you to create custom tooltips.
EZPZ Tooltip
No
2025-03-01
comment 0
373
Getting Started with PHPDoc
Article Introduction:PHPDoc is a JavaDoc-based PHP document standard. It uses special annotation blocks (/*.../) to add type and behavior information to the code without changing runtime behavior; 2. The core tags include @param (parameter type), @return (return value type), @var (variable/attribute type) and @throws (may throw exceptions), improving IDE intelligent prompts and static analysis capabilities; 3. Practical suggestions: Priority is given to the use of PHP native type declarations. PHPDoc is used for complex types such as array structures, keeping annotations accurate and updating synchronously with the code, and gradually adding @param and @return to new functions to develop habits, and ultimately implementing the self-documentation of the code and enhancing tool support.
2025-07-23
comment 0
451
15 Premium jQuery Designing Tools
Article Introduction:jQuery4u.com: Featured jQuery plug-ins and design tools! The following are some practical, beautiful and efficient design tools. Some of them have been tested by me and are powerful. Come and try it!
jQuery "Extraordinary" navigation
Cleverly imitate the Dock and Stack effects of OS X.
View the demo source code
jQuery keyword highlighting
Use this jQuery plugin to highlight important keywords easily.
View the demo source code
IE text shadow effect
With this jQuery plugin, IE browser can also easily achieve text shadowing effects.
View the demo source code
Cool jQuery menu
use
2025-03-09
comment 0
718
python free finished product blockbuster website python high-definition finished product entrance collection
Article Introduction:For Python developers who want to improve their practical capabilities and find project inspiration, observing and learning excellent "finished" projects is an excellent way. This article has selected multiple top platforms and communities for you. They are a treasure trove of high-quality Python project source code, complete tutorials and practical cases, which can help you quickly improve your programming skills.
2025-07-23
comment 0
686
jQuery Reload an iFrame
Article Introduction:Simple jQuery code snippet to reload an iFrame by accessing the contentWindow property to obtain the location object. The jQuery snippet code actually loops through and refreshes all the iFrames on the page.
Also see:
Check if window is in an ifr
2025-03-03
comment 0
1030
PHP Master | 5 Inspiring (and Useful) PHP Snippets
Article Introduction:The Internet is full of various articles of "X PHP code snippets", so why do you need to write another article? The reason is simple: most of the code snippets in the article are lackluster. Generating a random string or returning $_SERVER["REMOTE_ADDR"] to get fragments like client IP addresses are really lacking in fun and practicality. This article will share five practical and interesting snippets of PHP code and introduce the inspiration behind them. Hopefully these creative code snippets will inspire you to write better and more creative code in your daily programming.
Key Points
This article introduces five practical PHP code snippets, including using the built-in fputcsv() function to generate CSV data and make
2025-02-26
comment 0
447
5 jQuery Text Rotate Arc Plugins
Article Introduction:Five jQuery text rotary curved plug-ins are recommended to help you improve text layout design!
Related articles:
10 jQuery text conversion plug-ins
5 jQuery text fill resize plugins
CircleType.js
A lightweight (4kb) jQuery plugin that allows you to easily set text into circular arrangements.
Source code and demonstration 2. ARCTEXT.JS
Use CSS3 and jQuery to achieve text curve effect.
Source code and demonstration 3. jQuery super simple text rotator produced by Pete R.
Add super easy spin text effects to your website with just a small amount or even without any tagging.
Source code and demonstration 4. ke
2025-02-22
comment 0
826
Tips for Writing Clean JavaScript Code
Article Introduction:Write self-explanatory code: Ten practical tips to improve the quality of your JavaScript code
Writing clean and maintainable JavaScript code isn't just about following the rules, it's about writing code that tells a story. The following ten practical tips will instantly improve the quality of your code.
1. Use descriptive names and let the code tell the story
Your code should be as easy to understand as a well-written book. Name variables and functions clearly to make comments redundant.
2. Keep functions simple and focused
Every function should do only one thing. If you need to use the word "and" to describe what a function does, then it's probably doing too much.
3. Embrace modern JavaScript features
Use modern JavaScript
2025-01-16
comment 0
702
Free Java finished website entrance to watch complete finished Java videos online
Article Introduction:For Java learners and developers, finding high-quality and free finished project source code and complete practical videos is a major pain point. This article selects the world's top code hosting platforms and video learning websites, aiming to provide you with clear entry guidance, help you obtain learning resources efficiently and quickly improve your project development capabilities.
2025-07-23
comment 0
784