Latest Questions in Jquery

Browse latst posts in Jquery Category

75
Votes
Published 09 Jul, 2022
Jquery - Event Listener for Multiple Radio Button Groups

How would you have a dynamic Javascript/JQuery event listener to know which radio button group is clicked and retrieve the value of the checked element. For example if I have two radio button groups h...

80
Votes
Published 20 Jul, 2022
Jquery - document.domain and cross-site-scripting

Debugging assistance requested. The page http://www.freshfaves.com/newfave.html contains this code: <script> document.domain = 'freshfaves.com'; $(document).ready(function() { var dbUrl =...

57
Votes
Published 09 Aug, 2022
Jquery - How to show animated gif using Bootstrap button when clicked

i know how to show loading... text when user click on Bootstrap button. this way i do it http://jsfiddle.net/YCst4/1/ add two dependency files 1) bootstrap.min.css 2) bootstrap.min.js <button...

11
Votes
Published 04 Aug, 2022
Jquery - HTML Submit form on dropdown change

Good morning! I know that this topic has been covered on SO before but I couldn't find the full answer to my specific situation below so I apologize if I missed the answer elsewhere. Scope: What I...

28
Votes
Published 05 Aug, 2022
Jquery - ajaxform jQuery plugin reset form after sending request

Before i begin I believe this is not a dublicate at first. Here's my problem: I have a chatroom php script that i use ajaxForm jQuery plugin in order to send new messages without reloading the whole...

95
Votes
Published 13 Aug, 2022
Jquery - Replace link location (jQuery)

<a href="http://www.google.com">link</a> How do I replace link location from google.com to say "#"? $('a').attr( 'href', '#' ); isn't working.

33
Votes
Published 09 Jul, 2022
Jquery - Switch vertical carousel (desktop) to horizontal carousel in mobile

They know a one plugin that let me change/transform a vertical (desktop view) carousel to a horizontal carousel on mobile devices? Now I'm working with slick plugin but I can't get the result that I...

38
Votes
Published 13 Aug, 2022
Jquery - jqgrid redirect to another page when row clicked

I am trying to use jqgrid list for a specific project. I read the online documentation posted but I could not find solution to my problem. I dont have problem with listing and viewing items. But I nee...

54
Votes
Published 09 Jul, 2022
Jquery - Skip first N elements in JQuery

I would like to know, how can I skip first N elements in JQuery. Something like this: <div id="test"> <div>1</div> <div>2</div> <div>3</div>...

40
Votes
Published 09 Aug, 2022
Jquery - Create Image based on JSON output

I need help to create set of images via JSON in ASP .NET MVC4. Is it possible to do? My working code is following and I have no idea how to integrate that functionality. Thank you for any help! [...

66
Votes
Published 05 Aug, 2022
Jquery - Stopping redirect after AJAX request with jQuery

I'm trying to get a simple form to submit via AJAX to the submit.php page where it is sent to a database. When I submit it, it redirects to submit.php. I want it to submit without redirecting. Thanks...

33
Votes
Published 05 Aug, 2022
Jquery - jQuery, onclick and disabled select

I have a problem trying to get an onclick event to work consistently between different browsers, when that onclick is covering a disabled <select> (using jQuery 1.9.1): <html> <hea...

85
Votes
Published 09 Jul, 2022
Jquery - JQuery Autocomplete from Database

I need to to do autocomplete suggestion for my website and the data should be retrieved from database. I want to use JQuery autocomplete. here is my code but it doesn't work! This is my php file with...

142
Votes
Published 09 Jul, 2022
Jquery - event.wheelDelta returns undefined

So I'm trying to disable scrolling on my page when my lightbox opens, and I found this really usefull script that does exactly that. (http://jsfiddle.net/mrtsherman/eXQf3/3/), unfortunately, when I us...

88
Votes
Published 09 Jul, 2022
Jquery - Find index number of array value based on partial string match

I have been stuck on this as I am not the best with mixing arrays + string matches. What I would like to do is return the index number within an array based on a partial match from a string. Full us...

58
Votes
Published 09 Jul, 2022
Jquery - How to set locale format from datepicker?

How can I set the date format in jQuery UI's datepicker according to the user's locale? I get source html: <script type="text/javascript"> $(function() { $(".datefield2").datepicke...

60
Votes
Published 05 Aug, 2022
Jquery - How do I make a hamburger menu display on the right side?

I have been working on making one of our sites mobile friendly and am running into trouble. I know that conventional practice is to put the hamburger on the left and make the content slide to the righ...

20
Votes
Published 13 Aug, 2022
Jquery - Programmatically toggle a jquery treeview item?

I have a jquery treeview as navigation for a website. I am using the options: unique:true, collapsed:true but I need to have the first item expanded. I also would like to be able to toggle states in...

80
Votes
Published 03 Aug, 2022
Jquery - Ajax call to asp.net c# method returning custom object list

I'm trying to calling this WebMethod: [System.Web.Services.WebMethod] public static List<CustomObject> Carica(int ID) { List<CustomObject> elenco = new List<CustomObject>();...

35
Votes
Published 09 Jul, 2022
Jquery - Does jQuery .dialog() have a default width?

If I don't specify the width parameter for a jQuery modal dialog, what width will the dialog window have when opened? $(foo).dialog('open') Is it 300? Where is it specified?