query tag

356 questions


1 answers
87 views
0
jquery implements smooth scrolling, using string with pure code in id causes error

It implements smooth scrolling using jquery.Here's the code: $(function(){ $('a[href^=#]').click(function(){ var speed = 400; var href=$(this).attr(href); var target=$(href==#||href==?'html':href);...

1 years ago

1 answers
74 views
0
Understanding Variable Definitions in jQuery

I'm studying jQuery.When defining a variable, the variable name may or may not be $, but What are the differences?

1 years ago

1 answers
93 views
0
In-page scrolling does not work properly when the link is pressed on the smartphone menu created by hiraku.js.

Prerequisites/What you want to achieveI am using the js plug-in hiraku.js to create the drawer, but the link on the smartphone menu is strange, so I am having trouble.If you have used hiraku.js, or if...

1 years ago

1 answers
101 views
0
How do you implement the automatic saving function in the middle of the HTML input form?

About the ability to save automatically in the middle of the HTML input form·It seems to be applied to the stack overflow form, but how do you implement it?·Completed on the client side?·Send to serve...

1 years ago

1 answers
136 views
0
I want to generate multiple paginations for one slider on the swiper.

This is a question about swiper that creates sliders on the web.The implementation goal is not to place multiple swippers on a single page, but Create one swiper on one page and generate two paginatio...

1 years ago

2 answers
135 views
0
I want to move focus to next element (emulate tab key press)

I would like to perform the same behavior (focus to the next element) as tab key press when certain events occur, such as pressing enter key.For example, when I tried with the code below, the keyup (k...

1 years ago

1 answers
67 views
0
I want to know how to retrieve the information in Json.

If I want to get the product_id number in products, get the name or main_image, and display it in Jquery, what kind of description do I need?Please let me know.{ products: [ { product_id: 11, produ...

1 years ago

1 answers
139 views
0
I want jQuery-Validation-Engine to not disappear when I click on the balloon display when an error occurs.

We use a plug-in called jQuery-Validation-Engine for form validation.When there is an error, a balloon appears and disappears when you click on the balloon.Is there any way to keep it from disappearin...

1 years ago

1 answers
131 views
0
If the next operation after changing the contents of the text frame is to press the button element, you will have to press it twice.

I'm a little embarrassed, but please tell me.This may be a common question for beginners.INPUT TYPE=TEXT ELEMENT: Regarding A, the JavaScript (JQuery) to work with the change event is Coded.The page a...

1 years ago

3 answers
132 views
0
I want to scroll to the top of the content when I click the button

I'd like to create a menu in the upper left corner and click on a specific item to scroll to the top of the content, but I'm in trouble because I get an error when I press the button.I would like you ...

1 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.