jQuery

Welcome to the portal about jQuery.

New Topics

jQuery: Change the Title of an HTML Page

How can I change the page title of an HTML page with the help of jQuery, even after loading the page? Is that...

Question | 1 Answer

jQuery: Set the width of an element in percent

I would like to change the width of some elements with jQuery. The information should be provided in percent, so I would like to...

Question | 2 Answers

jQuery: Check if an element is invisible

Using the functions .hide(), .show(), and .toggle(), I can easily change the visibility of items with jQuery. But how can I...

Question | 2 Answers

jQuery: Show and hide elements

In this tutorial, I'd like to show you how to make a visible HTML element disappear or make an invisible one visible again with...

Tutorial | 0 Comments

jQuery: Show a DIV - Hide other DIVs

Some time ago I have written a tutorial in which I described ...

Tutorial | 0 Comments

jQuery: Set event.preventDefault within GET or POST Request

I have a submit form on my page which only should be submitted if a specific condition is met. The problem is that this...

Question | 1 Answer

New Answers and Comments

Stefan Trost: You can change the title of the page with the help of jQuery as follows: $(document).prop('title',...

Question | jQuery: Change the Title of an HTML Page

Guest: Thank you so much ! I'm facing a bit of a problem because it doesn't work when I switch to another page on the table although...

Tip | jQuery: Disable Submit Button if no Checkbox is selected

NetLabel: You can also directly address the CSS of your element. That would look like this: $('#div1').css({'width':...

Question | jQuery: Set the width of an element in percent

Stefan Trost: You can use the function width() for that. With the code ...

Question | jQuery: Set the width of an element in percent

NetLabel: If you want to select all elements that are visible or invisible, you can use :visible and :hidden in the following ways: ...

Question | jQuery: Check if an element is invisible

Stefan Trost: You can use the selectors :visible and :hidden. This can look like this, for example: if...

Question | jQuery: Check if an element is invisible

Popular Topics

Show more

Participate

Everyone can participate in Askingbox. Open your topic directly in this category:

 
If you should have any questions: That’s how it’s done.