Public Questions for tag [jquery]

Ask Question

12 questions


0

Vote

1

Answers

29

View

How to select table cells vertically and horizontally using javascript or jquery.

Apr 16

0

Vote

4

Answers

57

View

I have two radio buttons and want to post the value of the selected one. How can I get the value with jQuery?I can get all of them like this:$("form :radio")How do I know which one is selected?

Jan 29

0

Vote

4

Answers

53

View

Mod note: This question is about why XMLHttpRequest/fetch/etc. on the browser are subject to the Same Access Policy restrictions (you get errors mentioning CORB or CORS) while Postman is not. This que

Jan 28

0

Vote

5

Answers

30

View

How can I check the existence of an element in jQuery?The current code that I have is this:if ($(selector).length > 0) { // Do something } Is there a more elegant way to approach this? Perhap

Jan 28

0

Vote

3

Answers

78

View

When I want to prevent other event handlers from executing after a certain event is fired, I can use one of two techniques. I'll use jQuery in the examples, but this applies to plain-JS as well:1. eve

Jan 17

0

Vote

4

Answers

47

View

I am looking for a JavaScript array insert method, in the style of:arr.insert(index, item)Preferably in jQuery, but any JavaScript implementation will do at this point.

Jan 13

0

Vote

3

Answers

101

View

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.This happens on page-ready a

0

Vote

4

Answers

25

View

I'd like to do something like this to tick a checkbox using jQuery:$(".myCheckBox").checked(true);or$(".myCheckBox").selected(true);

Jan 10

0

Vote

4

Answers

31

View

I need to check the checked property of a checkbox and perform an action based on the checked property using jQuery.For example, if the age checkbox is checked, then I need to show a textbox to enter

0

Vote

3

Answers

138

View

How can I redirect the user from one page to another using jQuery or pure JavaScript?How to automatically redirect a Web Page to another URL using jQuery or pure JavaScript?

Dec 21

0

Vote

2

Answers

35

View

Is it possible to toggle the visibility of an element, using the functions .hide(), .show() or .toggle()?How would you test if an element is visible or hidden?

Dec 20

0

Vote

1

Answers

177

View

I want to beautify my blog url like a WordPress website. The user enters their text in the input box with id #input_title and JQuery or JavaScript converts the string and places it in an input fi

Nov 27