Toggle navigation
Email or Username
Password
Remember
Login
Register
|
I forgot my password
Questions
Unanswered
Tags
Users
Ask a Question
How to change the number press using jquery?
0
like
0
dislike
3
views
There are a number that h1, for example 3, it is necessary that when you click on the picture displayed, the number increased/decreased, how to implement it?
css
javascript
jquery
asked
Apr 12, 2019
by
ne_pes
|
3
views
answer
comment
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
like
0
dislike
You will need:
0. After clicking on the image:
1. Take the value of h1.text();
2. Convert it to a number explicitly or not, as you wish. ("operation-" perfectly translates the string to a number, if possible ;-) )
3. To make him anything and write back to h1.
Go for it.
The finished code will not give you anything.
answered
Apr 16, 2019
by
KickeRocK
ask related question
comment
Please
log in
or
register
to add a comment.
Related questions
0
like
0
dislike
1
answer
JQuery accordion should work only when you press the button and not the whole unit?
asked
Apr 12, 2019
by
Acaweb
javascript
jquery
0
like
0
dislike
2
answers
How to transfer a phone number with a plus to the server using jQuery ajax?
asked
May 4, 2019
by
lculver
ajax
jquery
0
like
0
dislike
2
answers
How to split a number into digits using jquery?
asked
May 3, 2019
by
tokmaganbet1
jquery
0
like
0
dislike
2
answers
Is it possible using jquery to convert the number of blocks in the number?
asked
Apr 25, 2019
by
tokmaganbet1
javascript
jquery
html
0
like
0
dislike
2
answers
How to remove an unlimited number of child elements using JQuery?
asked
Apr 22, 2019
by
targetologru
jquery
Most popular tags
javascript
php
css
html
jquery
wordpress
python
linux
web-development
mysql
android
windows
java
layout
c#
computer-networks
node.js
cpp
iron
yii
vue.js
1C-Bitrix
react
laravel
django
nginx
system-administration
search-engine-optimization
api
ubuntu
the-it-education.
ajax
sql
programming
hosting
cms
design
apache
google-chrome
bootstrap
Vkontakte
macos
google
network-administration
git
laptops
algorithms
regular-expressions
unity-game-engine
email
angular
database
network-equipment
software
wooŃommerce
debian
.net
ios
information-security
video
law-in-it
browsers
books
parsing
wi-fi
game-development
career
htaccess
postgresql
telegram
mikrotik
mobile-development
ruby-on-rails
the-domain-name-system
modx
Yandex
c
json
opencart
Habr
freelance
vpn
asp.net
windows-server
symfony
bots
hard-drives
math
qt
DIY
audio
frontend
payment-system
bash
electronics
gulp.js
user-interface
docker
online-shopping
110,608
questions
257,186
answers
0
comments
33,698
users