Skip to content
Tutorialdeep

Tutorialdeep

  • Recommended Tools
  • Start a Blog
  • FREE Blog Setup
  • HTML
  • CSS
  • jQuery
  • Bootstrap
  • PHP
  • SQL
  • Python
  • Java
  • MS Word
  • MS Excel
  • Forms

Category Archives: jQuery Faqs

How jQuery Add Style to HTML Element and Apply CSS View More

There are methods jQuery css() and jQuery attr() by which jquery add style to HTML elements. There are many CSS …

Continue reading “How jQuery Add Style to HTML Element and Apply CSS”

How jQuery Change CSS Property of HTML element View More

In this tutorial, learn how jQuery change the CSS property of the HTML element. The short answer is to use …

Continue reading “How jQuery Change CSS Property of HTML element”

How jQuery Replace HTML Content of an Element View More

In this tutorial, learn how to replace HTML content of an element using jQuery. The short answer is to use …

Continue reading “How jQuery Replace HTML Content of an Element”

How jQuery Add Attribute to an HTML Element View More

In this tutorial, learn how jQuery add attribute to an HTML elements. The short answer is: use the jQuery attr() …

Continue reading “How jQuery Add Attribute to an HTML Element”

How jQuery Get Id of an HTML Element on Click View More

jQuery get id of an HTML elements using jQuery attr() method. You just need to put the id as an …

Continue reading “How jQuery Get Id of an HTML Element on Click”

How to Check If Checkbox is Checked or Not Using jQuery View More
check if checkbox is checked or not

In this tutorial, learn how to check if checkbox is checked or not. The short answer is: use the is() …

Continue reading “How to Check If Checkbox is Checked or Not Using jQuery”

How to Create jQuery Alert Message Box in HTML View More

In this tutorial, learn how to create or add a jQuery alert message box in HTML content. The short answer …

Continue reading “How to Create jQuery Alert Message Box in HTML”

jQuery Toggle Div Visibility On Button Click View More

In this tutorial, learn how jQuery toggle div visibility on button click. The short answer is to use the toggle() …

Continue reading “jQuery Toggle Div Visibility On Button Click”

Show Hide Div On Radio Button Click Using jQuery View More

Use jQuery show() and hide() to Show Hide div on radio button selected. To do this, you need to add …

Continue reading “Show Hide Div On Radio Button Click Using jQuery”

Show/Hide Div On Dropdown Selected Using jQuery View More

In this tutorial, learn how to show/hide div on dropdown selected. The short answer is: use the jQuery show() and …

Continue reading “Show/Hide Div On Dropdown Selected Using jQuery”

jQuery Remove Attribute From HTML Element View More

In this tutorial, learn how to remove attribute from element using jQuery. The short answer is to use jQuery removeAttr() …

Continue reading “jQuery Remove Attribute From HTML Element”

How to Get Selected Radio Button Value Using jQuery View More

In this tutorial, learn how to get selected radio button value in jQuery. The short answer is: use jquery selectors …

Continue reading “How to Get Selected Radio Button Value Using jQuery”

How to Get Element By Class Using jQuery .class Selector View More

Learn how to get element by class using jquery .class selector. Find the HTML element by class and apply effect, …

Continue reading “How to Get Element By Class Using jQuery .class Selector”

How to Fadeout Div Element on Button Click Using jQuery View More

Fadeout div element require to use the jQuery fadeOut() method to apply animation effect. The fadeout effect applies to the …

Continue reading “How to Fadeout Div Element on Button Click Using jQuery”

How to Fade Toggle Div Element with Certain Time Delay View More

Learn how to fade toggle div element with time delay on button click using jquery. The short answer is to …

Continue reading “How to Fade Toggle Div Element with Certain Time Delay”

How to Fadeto Div Content for Opacity Effect Using jQuery View More

Learn how to fadeto div content on click of the button and for the opacity effect using jquery. The short …

Continue reading “How to Fadeto Div Content for Opacity Effect Using jQuery”

How to Slideup Div Content on Button Click Using jQuery View More

Learn how to slideup div content on button click using jQuery. You have to use the slideUp() function to apply …

Continue reading “How to Slideup Div Content on Button Click Using jQuery”

How to Slidedown Div Content on Button Click Using jQuery View More

Learn how to slidedown div content on button click using jQuery. The jquery slidedown() method applies the slide-down effect to …

Continue reading “How to Slidedown Div Content on Button Click Using jQuery”

Show Hide Div On Hover Using HTML, CSS and jQuery View More

In this tutorial, learn how to show hide div on hover using HTML, CSS, and jQuery. The short answer is …

Continue reading “Show Hide Div On Hover Using HTML, CSS and jQuery”

jQuery Get Id of Element on Hover Examples View More

In this tutorial, you will learn how to get id of an element on hover using jQuery. The short answer …

Continue reading “jQuery Get Id of Element on Hover Examples”

jQuery Get Selected Option Value on Select View More

In this tutorial, Learn how to get selected option value of a select dropdown using jQuery. The short answer is …

Continue reading “jQuery Get Selected Option Value on Select”

How to Change Image on Hover Using CSS or JQuery View More

In this tutorial, learn how to change image on hover using HTML, CSS and jQuery. The short answer is to use …

Continue reading “How to Change Image on Hover Using CSS or JQuery”

Change Image On Dropdown Select Option Using jQuery View More

In this tutorial, learn how to change image on dropdown select option using jQuery and HTML. The short answer is …

Continue reading “Change Image On Dropdown Select Option Using jQuery”

How to Get Div Text Content and HTML Content with jQuery View More

In this tutorial, learn how to get div text content and HTML content using jQuery. The short answer is to …

Continue reading “How to Get Div Text Content and HTML Content with jQuery”

Add Class on Hover and Remove on MouseOut with jQuery View More
Add Class on Hover and Remove on MouseOut with jQuery

In this tutorial, learn how to add class on hover and remove class on mouseout. The short answer is: use …

Continue reading “Add Class on Hover and Remove on MouseOut with jQuery”

Show/Hide Div On Scroll Position Up or Down in jQuery View More

In this tutorial, learn how to show/hide div on scroll position up or down in jQuery. The short answer is …

Continue reading “Show/Hide Div On Scroll Position Up or Down in jQuery”

How to Show/Hide Form On Button Click Using jQuery View More

To show/hide form on button click in jQuery, you can either use show() and hide() function or use the jQuery …

Continue reading “How to Show/Hide Form On Button Click Using jQuery”

jQuery Fadein Fadeout Div Hover Effects View More

In this tutorial, learn how jQuery fadein fadeout div hover effect. The short answer is to use the fadeIn() and …

Continue reading “jQuery Fadein Fadeout Div Hover Effects”

How to Submit Form in jQuery and Post Data Without Page Refresh View More

In this tutorial, learn how to submit form in jQuery and post data without page refresh. The short answer is …

Continue reading “How to Submit Form in jQuery and Post Data Without Page Refresh”

jQuery Add Line Breaks in Alert Message Box for New Line View More

In this tutorial, learn how to add line breaks in alert message box for new line in text using jQuery. …

Continue reading “jQuery Add Line Breaks in Alert Message Box for New Line”

Show/Hide Image on Hover Anchor Link Using jQuery View More

In this tutorial, learn how to show/hide image on hover anchor link using jQuery and CSS. The short answer is …

Continue reading “Show/Hide Image on Hover Anchor Link Using jQuery”

How to Remove Anchor tag Link from Div Using jQuery View More

In this tutorial, learn how jQuery remove anchor tag link from div on button click. The Short answer is: use …

Continue reading “How to Remove Anchor tag Link from Div Using jQuery”

How to Declare Function and Call Onclick Using jQuery View More

In this tutorial, learn how to declare function and call on click using jQuery. The short answer is to use …

Continue reading “How to Declare Function and Call Onclick Using jQuery”

How to Count String Characters Length Using jQuery View More

To count string characters length in jQuery, use the jQuery length property to find the number of characters in a …

Continue reading “How to Count String Characters Length Using jQuery”

How to Remove String Spaces and Dash Using jQuery View More
jquery-remove-string-spaces

In this tutorial, learn how to remove string spaces, dash, or hyphens using jQuery. The short answer is to use …

Continue reading “How to Remove String Spaces and Dash Using jQuery”

How to Get Selected Checkbox Value Using jQuery View More

In this tutorial, learn how to get selected checkbox value using jQuery. The short answer is to use the change …

Continue reading “How to Get Selected Checkbox Value Using jQuery”

How to Get Selected Checkboxes Id onClick Using jQuery View More

In this tutorial, learn how to get selected checkboxes id on click using jQuery. The short answer is to use the …

Continue reading “How to Get Selected Checkboxes Id onClick Using jQuery”

jQuery Get Current Page URL on Button Click View More

In this tutorial, learn how to get current page URL by clicking on the button in jQuery. The short answer …

Continue reading “jQuery Get Current Page URL on Button Click”

How to Disable All Form Elements Using jQuery View More

In this tutorial, learn how to disable all form elements using jQuery. The short answer is to use jQuery prop() …

Continue reading “How to Disable All Form Elements Using jQuery”

How to Display Image on Button Click Using jQuery View More

In this tutorial, learn how to display the image on button click using jQuery. The short answer is: use the …

Continue reading “How to Display Image on Button Click Using jQuery”

jQuery Check If Element Exists or Hidden View More

In this tutorial, learn how to check if element is exists or hidden using jQuery. The short answer is: use …

Continue reading “jQuery Check If Element Exists or Hidden”

Show Hide Image on Scroll Down or Up Using jQuery View More

In this tutorial, learn how to show hide image on scroll down or up in jQuery. The short answer is …

Continue reading “Show Hide Image on Scroll Down or Up Using jQuery”

How to Smooth Scroll to Top of the Page using jQuery View More

In this tutorial, learn how to smooth scroll to top of the page in jQuery. The short answer is to …

Continue reading “How to Smooth Scroll to Top of the Page using jQuery”

Remove All White Spaces From Text Using jQuery View More

In this tutorial, learn how to remove all white spaces from text using jquery. The short answer is: use replace() …

Continue reading “Remove All White Spaces From Text Using jQuery”

jQuery Remove String from String with Examples View More

In this tutorial, learn how to remove string from string using jQuery. The short answer is to use the replace() …

Continue reading “jQuery Remove String from String with Examples”

Remove Character From String Using jQuery View More

In this tutorial, learn how to remove character from the string on the button click with jQuery. The short answer …

Continue reading “Remove Character From String Using jQuery”

How to Remove Last Character From String Using jQuery View More

In this tutorial, learn how to remove last character from the string using jQuery. The short answer is to use …

Continue reading “How to Remove Last Character From String Using jQuery”

Remove First Character From the String Using jQuery View More

In this tutorial, learn how to remove first character from the string on button click using jQuery. The short answer …

Continue reading “Remove First Character From the String Using jQuery”

Uppercase First Letter of Text in jQuery and CSS View More

In this tutorial, learn how to uppercase first letter of text using jquery. Make the first letter of all the …

Continue reading “Uppercase First Letter of Text in jQuery and CSS”

Add and Remove Table Rows Dynamically Using jQuery View More

In this tutorial, learn how to add/remove table rows dynamically using jQuery. Add table rows on button click and remove …

Continue reading “Add and Remove Table Rows Dynamically Using jQuery”

How to Delete All Table Rows Except First Using jQuery View More

In this tutorial, learn how to delete all table rows except first on button click using jQuery. Delete all rows …

Continue reading “How to Delete All Table Rows Except First Using jQuery”

How to Get Dropdown Selected Text Using jQuery View More

In this tutorial, learn how to get text of selected dropdown using jQuery. The short answer is: use jQuery text() …

Continue reading “How to Get Dropdown Selected Text Using jQuery”

jQuery Open Link in New Tab on Button Click View More

In this tutorial, learn how to open link in new tab on button click using jQuery. The short answer is: …

Continue reading “jQuery Open Link in New Tab on Button Click”

Show Different HTML Form On Radio Button Selection View More

In this tutorial, learn how to show and hide different HTML form on radio button selection. The short answer is …

Continue reading “Show Different HTML Form On Radio Button Selection”

Get Input Textbox Value and Textarea Value in jQuery View More

In this tutorial, learn how to get input textbox value and textarea value on button click using jQuery. The short …

Continue reading “Get Input Textbox Value and Textarea Value in jQuery”

How to Open Dropdown on Hover Using jQuery and JS View More

Learn how to create a select box to open dropdown on hover using jQuery. The short answer is: use the …

Continue reading “How to Open Dropdown on Hover Using jQuery and JS”

How jQuery Get First Element of li Using Selectors View More

In this tutorial, learn how jQuery get first element of li on button click. The short answer is to use …

Continue reading “How jQuery Get First Element of li Using Selectors”

How to Get Second Child Element of List Using jQuery View More

In this tutorial, learn how to get second child element of list in jQuery. The short answer is: use the …

Continue reading “How to Get Second Child Element of List Using jQuery”

How to Apply Style to Last Element of List with jQuery View More

In this tutorial, learn how to apply style to last element of list using jQuery. The short answer is: use …

Continue reading “How to Apply Style to Last Element of List with jQuery”

How jQuery Apply Multiple CSS Style to HTML Element View More

In this tutorial, learn how to apply multiple CSS style to HTML elements using jQuery. The short answer is: use …

Continue reading “How jQuery Apply Multiple CSS Style to HTML Element”

How to Get Class Name of Div Element Using jquery View More
jquery-get-class-name

In this tutorial, learn how to get class name of div element using jQuery. The short answer is: use the …

Continue reading “How to Get Class Name of Div Element Using jquery”

How to Select Multiple Classes of Elements in jQuery View More

In this tutorial, learn how to select multiple classes of elements in jQuery. The short answer is: use the comma-separated …

Continue reading “How to Select Multiple Classes of Elements in jQuery”

How to Fix Div on Top When Scrolling Using jQuery View More

In this tutorial, learn how to fix div on top when scrolling using jQuery. It makes the div sticky to …

Continue reading “How to Fix Div on Top When Scrolling Using jQuery”

How to Show Button on Hover Div Element in jQuery View More

In this tutorial, learn how to show button on hover div element using jQuery. The short answer is: use the …

Continue reading “How to Show Button on Hover Div Element in jQuery”

How to Get JSON From URL in jQuery and AJAX View More
get-json-from-url-jquery-ajax

In this tutorial, learn how to get JSON from URL using jQuery or AJAX. The short answer is to use …

Continue reading “How to Get JSON From URL in jQuery and AJAX”

How jQuery Call Function in Different Events View More

In this tutorial, learn how jQuery call function in different events like after 5 seconds, on page load, on button …

Continue reading “How jQuery Call Function in Different Events”

jQuery Disable All Input Fields or Specified Inputs View More

In this tutorial, learn how to disable all input fields or specified input using jQuery. The short answer is to …

Continue reading “jQuery Disable All Input Fields or Specified Inputs”

jQuery Get Multiple Selected Values of Select Box View More

In this tutorial, learn how jQuery get multiple selected values of the select dropdown box. The short answer is to …

Continue reading “jQuery Get Multiple Selected Values of Select Box”

jQuery Get Value of All Checked Checkboxes in Array Format View More

In this tutorial, learn how to get value of all checked checkboxes in an array format using jQuery. The short …

Continue reading “jQuery Get Value of All Checked Checkboxes in Array Format”

How to Get Multiple Selected Checkbox Values in jQuery View More

In this tutorial, learn how to get multiple selected checkbox values or checked checkboxes values using jQuery. The short answer …

Continue reading “How to Get Multiple Selected Checkbox Values in jQuery”

HTML Checkbox Group Single Selection in jQuery View More

In this tutorial, learn how to make the HTML checkbox Group Single Selection using jQuery. The short answer is to …

Continue reading “HTML Checkbox Group Single Selection in jQuery”

How to Convert HTML Table to Excel Using jQuery View More

In this tutorial, learn how to convert HTML table to excel sheet in jQuery. The short answer is the use …

Continue reading “How to Convert HTML Table to Excel Using jQuery”

jQuery Button Onclick Call Function with Examples View More

In this tutorial, learn how jQuery button onclick call function. The short answer is to use the click() of jQuery …

Continue reading “jQuery Button Onclick Call Function with Examples”

How to Create Function in jQuery with Examples View More

In this tutorial, learn how to create function in jQuery. The short answer is to use the code function myfn(){} …

Continue reading “How to Create Function in jQuery with Examples”

How to Wrap Image with Anchor Link in jQuery View More

In this tutorial, learn how to wrap image with anchor link using jQuery. The short answer is to use the …

Continue reading “How to Wrap Image with Anchor Link in jQuery”

jQuery Run Script After 5 Seconds Examples View More

In this tutorial, learn how to run script after 5 seconds using jQuery. The short answer is to use the …

Continue reading “jQuery Run Script After 5 Seconds Examples”

jQuery Change Image Source with Examples View More

In this tutorial, learn how to change image source using jQuery on button click or hover events. The short answer …

Continue reading “jQuery Change Image Source with Examples”

jQuery Detect Click Outside Element Input Box View More

In this tutorial, learn how to detect click outside of an input box element using jQuery. The short answer is …

Continue reading “jQuery Detect Click Outside Element Input Box”

Email Validation Using jQuery and Regex Examples View More

In this tutorial, learn email validation using jQuery. The short answer is to use the regular expression with text() to …

Continue reading “Email Validation Using jQuery and Regex Examples”

jQuery Slideup Slidedown Toggle Examples View More

In this tutorial, learn how to slideup slidedown toggle using jQuery. The short answer is to use the slideDown() and …

Continue reading “jQuery Slideup Slidedown Toggle Examples”

jQuery Set Value of Select Option with Examples View More

In this tutorial, you will learn how to set value of select dropdown option using jQuery. The short answer is …

Continue reading “jQuery Set Value of Select Option with Examples”

jQuery Remove Disabled Attribute with Examples View More

In this tutorial, learn how to remove disabled attribute from input elements using jQuery. The short answer is to use …

Continue reading “jQuery Remove Disabled Attribute with Examples”

jQuery Remove Style Attribute with Examples View More

In this tutorial, learn how to remove style attribute from an element in jQuery. The short answer is to use …

Continue reading “jQuery Remove Style Attribute with Examples”

jQuery Add Disabled Attribute to Input Element View More

In this tutorial, learn how jQuery add disabled attribute to the input element. The short answer is to use the …

Continue reading “jQuery Add Disabled Attribute to Input Element”

jQuery Remove Display None with Examples View More

In this tutorial, learn how to remove display none using jQuery. The short answer is to use the show() function …

Continue reading “jQuery Remove Display None with Examples”

Show Hide Input Fields Based on Radio Button Selection in jQuery View More

In this tutorial, learn how to show hide input fields based on radio button selection using jQuery. The short answer …

Continue reading “Show Hide Input Fields Based on Radio Button Selection in jQuery”

Open Bootstrap Modal Popup on Image Click in jQuery View More

In this tutorial, learn how to open the Bootstrap modal popup on image click. The short answer is: use jQuery …

Continue reading “Open Bootstrap Modal Popup on Image Click in jQuery”

Open Bootstrap Modal Popup on Button Click Using jQuery View More

In this tutorial, learn how to open Bootstrap modal popup on button click using jQuery and Bootstrap. The short answer …

Continue reading “Open Bootstrap Modal Popup on Button Click Using jQuery”

How to Create Hover Nav Tabs in Bootstrap 5, 4, and 3 View More

Learn how to create hover nav tabs using Bootstrap 5 and its other version. The short answer is to use …

Continue reading “How to Create Hover Nav Tabs in Bootstrap 5, 4, and 3”

Ajax Image Upload Using PHP, jQuery With Image Preview View More

In this tutorial, learn how to create an ajax image upload using PHP, jQuery, and Ajax with image preview without …

Continue reading “Ajax Image Upload Using PHP, jQuery With Image Preview”

jQuery Ajax Submit Form to Pass Data to PHP File View More

In this tutorial, learn how jQuery ajax submit form and send your form data to a PHP file. You can …

Continue reading “jQuery Ajax Submit Form to Pass Data to PHP File”

Redirect to Another Page in jQuery and Javascript View More

To redirect to another page automatically in Javascript, use the window.location.replace() and pass the URL as an argument. You can …

Continue reading “Redirect to Another Page in jQuery and Javascript”

How to Reload or Refresh a Page Using jQuery or Javascript View More

To refresh a page on button click using jQuery or javascript, use the location.reload() function for both jQuery and Javascript. …

Continue reading “How to Reload or Refresh a Page Using jQuery or Javascript”

How to Show Delete Confirmation Message in Javascript View More

To show a delete confirmation message in an alert box, use the confirm() function of Javascript inside the onclick attribute. …

Continue reading “How to Show Delete Confirmation Message in Javascript”

Pass Textbox Value to Another Textbox Using jQuery View More

To update textbox value while typing on another textbox in jQuery, you can use the on(‘input’) event with val() function. …

Continue reading “Pass Textbox Value to Another Textbox Using jQuery”

Display Alert at the Specified Date and Time in jQuery View More

If you want to display an alert at the specified date and time, you have to use the Date() and …

Continue reading “Display Alert at the Specified Date and Time in jQuery”


TutorialDeep logo

Follow Us

  • Blog
  • Deal
  • What Is
  • How To
  • Reviews
  • HTML Reference
  • CSS Property
  • jQuery Reference
  • HTML Attributes
  • MS Excel Functions
Tutorialdeep Copyright © 2025 Privacy Policy
  • Terms of Use
  • Sitemap
  • About
  • FTC Disclosure
  • Contact