Home JS special effects jQuery effects jQuery click text box content exchange

jQuery click text box content exchange

jQuery click text box content exchange

jQuery click text box content exchange

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>js click text box content exchange code</title>
</head>
<body><script src="/demos/googlegg.js"></script>
<script type="text/javascript">
function change(){
var num1 = document.getElementById("num1").value;
var num2 = document.getElementById("num2").value;
{
document.getElementById("num2").value = num1;
document.getElementById("num1").value = num2;
}
}
</script>

This is a jQuery click text box content exchange. Friends who need it can download and use it.

Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

Use jquery to manipulate the text content of the input box Use jquery to manipulate the text content of the input box

15 Mar 2018

This time I will bring you how to use jquery to operate the text content of the input box. What are the precautions for using jquery to operate the text content of the input box? The following is a practical case, let's take a look.

jquery click text content to enlarge and center the example sharing jquery click text content to enlarge and center the example sharing

06 Jan 2018

This article mainly introduces jquery to you in detail. Click on text or picture content to enlarge and display it in the center. It has certain reference value. Interested friends can refer to it. I hope it can help everyone.

jQuery implements button click, select all/inverse selection, radio button/check box, text box, form validation_jquery jQuery implements button click, select all/inverse selection, radio button/check box, text box, form validation_jquery

16 May 2016

This article mainly introduces the jQuery implementation of button click, select all/inverse selection, radio button/check box, text box, and relevant information on form verification. Friends in need can refer to the following

jQuery implements button click, select all/inverse selection, radio button/check box, text box, form validation jQuery implements button click, select all/inverse selection, radio button/check box, text box, form validation

06 Feb 2017

This article mainly introduces the jQuery implementation of button click, select all/inverse selection, radio button/check box, text box, and relevant information on form verification. Friends who need it can refer to it.

How to make jQuery add the value in the click drop-down box to the text box How to make jQuery add the value in the click drop-down box to the text box

31 Dec 2017

What I bring to you this time is how jQuery makes the value in the click drop-down box accumulate to the text box. This article will give you a good analysis.

An example explains how jQuery implements the method of adding the value in the click drop-down box to the text box. An example explains how jQuery implements the method of adding the value in the click drop-down box to the text box.

26 Dec 2017

This article mainly introduces jQuery's method of adding the value in the click drop-down box to the text box, involving jQuery event binding and dynamic acquisition and operation of page element attributes. Friends who need it can refer to it. I hope it can help everyone.

jquery implements the code that the right mouse click of the text box is invalid and cannot be entered_jquery jquery implements the code that the right mouse click of the text box is invalid and cannot be entered_jquery

16 May 2016

jquery implements the method to realize that the right click of the mouse in the text box is invalid and input cannot be performed. Friends who need it can refer to it.

jQuery implements the method of selecting the content of the pop-up window selection box and assigning it to the text box_jquery jQuery implements the method of selecting the content of the pop-up window selection box and assigning it to the text box_jquery

16 May 2016

This article mainly introduces jQuery's method of selecting the content of the pop-up window selection box and then assigning it to the text box. It involves related techniques for jQuery to dynamically operate page element attributes in response to mouse events. Friends in need can refer to the following

How to set delay in jquery How to set delay in jquery

26 Apr 2023

In front-end development, we often need to use jQuery to handle some interactive effects and animation effects, such as animation effects when the mouse is hovering, animation effects when the page is loading, etc. But sometimes we need to set a delay time so that these effects can be better expressed. So, how does jQuery set a delay? This article will introduce this issue in detail. 1. Delay method in jQuery In jQuery, delay effect can be easily achieved by using the delay() method. The delay() method can be used

See all articles See all articles

Hot Tools

jQuery2019 Valentine's Day Confession Fireworks Animation Special Effects

jQuery2019 Valentine's Day Confession Fireworks Animation Special Effects

A very popular jQuery Valentine's Day confession fireworks animation special effect on Douyin, suitable for programmers and technical geeks to express their love to the girl they love. No matter you choose to be willing or not, you have to agree in the end.

layui responsive animated login interface template

layui responsive animated login interface template

layui responsive animated login interface template

520 Valentine's Day confession web animation special effects

520 Valentine's Day confession web animation special effects

jQuery Valentine's Day Confession Animation, 520 Confession Background Animation

Cool system login page

Cool system login page

Cool system login page

HTML5 tape music player-CASSETTE PLAYER

HTML5 tape music player-CASSETTE PLAYER

HTML5 tape music player-CASSETTE PLAYER