Browse latst posts in Jquery Category
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...
Debugging assistance requested. The page http://www.freshfaves.com/newfave.html contains this code: <script> document.domain = 'freshfaves.com'; $(document).ready(function() { var dbUrl =...
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...
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...
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...
<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.
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...
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...
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>...
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! [...
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...
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...
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...
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...
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...
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...
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...
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...
I'm trying to calling this WebMethod: [System.Web.Services.WebMethod] public static List<CustomObject> Carica(int ID) { List<CustomObject> elenco = new List<CustomObject>();...
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?