Click here to Skip to main content
15,890,557 members
Everything / jQuery

Jquery

jQuery

Great Reads

by Christoph Buenger
Describes PHP application development with the free Scavix Web Development Framework (Scavix-WDF).
by Evoluteur
A full jQuery UI widget which supports various configurations and themes
by Jovan Popovic(MSFT)
Reordering table rows using drag and drop functionality with jQuery DataTables plug-in in ASP.NET MVC applications
by Hovhannes Bantikyan
This is a simple infinite scroll with Ajax post and JSON. Have fun :)

Latest Articles

by Zijian
How to generate strongly typed client API in TypeScript for ASP.NET Core
by Bhargav Technical Lead
Angular migration to version 16
by Michael Chourdakis
A quick way to interoperate between Win32 and a browser using WebSockets

All Articles

Sort by Updated

jQuery 

2 Jun 2010 by #realJSOP
Did you google "create charts with javascript"? When I did, I got over 4.6 MILLION hits.
6 Jun 2010 by #realJSOP
No code = no answer. BTW, don't post the entire project either, just the relevant code snippets.
20 Jan 2011 by #realJSOP
Does it give any indication of WHERE this occurs in the code you didn't post for us?
16 Mar 2011 by #realJSOP
You can't/shouldn't run client-side desktop software from a web page. It's not just a security risk, it's a bad idea, and why most people with an sense of self-awareness abhor the use of Active-X(crement).
19 Apr 2011 by #realJSOP
I don't know jQuery sysntax, but try this (or a reasonable variation thereof):$(string('.textZip')).numeric(false);
3 May 2011 by #realJSOP
There's no such thing as a minimum protection level. Javascript can be turned off all by itself, the creating a "custom" protection level.The best you can do is detect whether or not Javascript is enabled, and put up the appropriate web page or other indication informing the user that...
30 Jun 2011 by #realJSOP
I use transmenu, but it's no longer being maintained. It's a javascript menu system. You can see an example of it here:My web site[^]You can get the last updated source here:http://youngpup.net/projects/transmenus/[^]It's also used in Joomla and DotNetPuke.
8 Sep 2011 by #realJSOP
Make sure that your attribute name is the proper case. In ASP.NET, it's almost always "ID" as opposed to "id".
21 Sep 2011 by #realJSOP
Have you run the site under the debugger to ensure that the data isn't null?
27 Nov 2011 by #realJSOP
At the end of each row, you need to have a div that clears the float.
2 Mar 2012 by #realJSOP
17 MILLION google results for the search phrase "why use jquery" [^]
18 Mar 2012 by #realJSOP
999,000 Google search results for the phrase "autocomplete validation in jquery" [^]
29 Sep 2016 by #realJSOP
I'm gonna take a stab at this, despite your inability to communicate clearly in English.You need to hand the click event for the checkboxes in the list, and determine if the checkbox is checked or unchecked, and take the appropriate action.Now I remember why I stopped answering questions...
15 Mar 2018 by #realJSOP
Simply get the distance between two points, and see if it's within the desired radius. If the Google Maps API doesn't have a function for that (and it would honestly surprise me if it didn't), you can use the class in this article to determine the distance between two GPS points. A Handy GPS...
15 Oct 2018 by #realJSOP
It's a play list file, not a video/audio file. Google will reveal what you need to do, but you can try Banshee Media Player, or maybe HLS-Player. Beyond that, it's not your job to make sure something will work on the client side besides letting the user know what he needs of have installed,...
7 Mar 2019 by #realJSOP
I have a KendoUI grid (using jquery 1.9 and Kendo 2013.1, and I cannot update these libraries to newer versions). I cannot change the function that created the grid. I want to add a handler for the change event (when the user selects an item in the grid) so I can show a button in the form. ...
13 Mar 2019 by #realJSOP
Looks to me like it might be a response code, and they're customizing messages for it.
13 Mar 2019 by #realJSOP
This will allow A-Z, a-z, and 0-9: /[^\w]|_/g
7 May 2019 by #realJSOP
This website is blocked where I work, but look here: Shufti Pro API Source Code Samples | ProgrammableWeb[^] BTW, I did a google search to find that link. I heard that google searches were recently made free of charge, so you can do it, too...
13 Jun 2019 by #realJSOP
"prevent multiple tabs in browser of a given web site" - Google Search[^]
25 Jun 2019 by #realJSOP
I think you want innerHtml instead of html.
8 Nov 2019 by #realJSOP
0) The delay does not go on the page where the user clicked the link - it goes on the page that has the download button. 1) To make a link open in a new tab, add target="_top" to the href. 2) You should respond to an event in order for the html to be rendered. 3) For the record, these...
13 Nov 2019 by #realJSOP
It depends entirely on your existing code. Generally speaking, jquery has a pretty good track record of being backward-compatibls with old versions, but any dev worth his paycheck will check STILL regression test his code when updating libraries to newer versions. Look at the supporting docs for...
16 Feb 2020 by #realJSOP
In our ASP.Net application (*NOT* MVC), we have a Kendo-UI dropdownlist that is populated in the Default.master file. The control itself is populated in an external "global" assembly, and I cannot alter the code in that assembly. I want to...
24 Sep 2013 by $*Developer - Vaibhav*$
Hi All, Convert XML string to Array but array is array item within item 1 SDM SDM78@gmail.com #4169e1 10010000 XYZ...
25 Sep 2013 by $*Developer - Vaibhav*$
Using parseJSONvar obj = jQuery.parseJSON( '{ "name": "John" }' );alert( obj.name === "John" );
21 Dec 2021 by $ultaNn
Please can anyone provide a method to calculate the difference between 2 hijri dates start date 01/10/1429 End Datem 04/23/1436 Output 7Y 3M 14D What I have tried: function CalculateDate() { var startDate =...
25 Jul 2011 by 'Anil' Radhakrishna
A mash-up of sorts built using Microsoft's jQuery Template plugin along with G Birke's jQuery Pagination plugin & a photo-stream from Flickr acting as a data source
29 Dec 2014 by 'Anil' Radhakrishna
SPA to track food expiry dates shows how to implement CRUD functionality through Azure Mobile Services HTTP OData/REST calls, without writing any server-side code
30 Sep 2013 by (pmac)
Could you give me a sample code to highlight multiple column in a single row of HTML table.I follow this : JSFIDDLE[^]
17 Jul 2014 by -Dr_X-
The context argument is basically the webpage.I'm not sure if this is the best way to do up loads. The FileUpLoad control handles this for you. If you're doing downloads, that would be a bit different as I use a handler for those.Do you have the tags in the web.config? ...
26 Nov 2014 by /\jmot
If you are using Update pannel then try these..The UpdateProgress Control of ASP.NET AJAX Extensions[^]Using UpdateProgress and Making Background...
27 Nov 2014 by /\jmot
try like this to find thye TextboxControl Id $(this).find('input[id$=datepicker]').datepicker({ changeMonth: true, changeYear: true});or give a class name to the textbox control inside repeater..$(this).find(".className").datepicker();
9 Dec 2014 by /\jmot
See here..Use localStorage [^]to store the fact that you opened the page :http://stackoverflow.com/questions/11123622/how-to-set-session-variable-in-jquery[^]
10 Dec 2014 by /\jmot
what about this??function fcheck(index) { var index = index; $(this).find("#gridstudent_lblname_"+index).val("changedata");}
18 Mar 2015 by 0bx
The browser will never allow a script to target an element that is loaded from a different source than itself.
12 Jan 2022 by 0x01AA
I would guess the problem is the account under which the web service runs. See this... Quote: The credentials under which the Web server's process (or thread) is running must map to a valid SQL Server login in order to establish a connection. ...
9 Aug 2011 by 123arvind123
you can use position:fixed in your css code for the div which you want to fixed.
11 Jun 2012 by 123deee
Hi Friends,I have one problem in Jquery!!!!!!!!!!Is anybody know how to fetch data from excel sheet and read the values ?Thanks,hnd
27 Jun 2013 by 143dero
I am building a mobile aplication using jquery mobile and jquery for backend and i want to do local storage,how can i do it while i pick data from the from jquery mobile form to local storage
1 Dec 2012 by 194878
I have a task in project what i have to do is after sign-in if user want to change password. On submit button how i have to match user old password with type in password. But how to do that and update old password to new one how to do that.
21 Jul 2015 by 1984.santosh
Removing each with for loop may increase performance. You can use below given code for your work. Other than this you can add some more filter like class etc in jquery selector.var spans = $('span');for(var counter = 0; counter
28 Feb 2014 by 1989priya
Hi...I want to bind hard coded country name in dropdownlist using jquery ???I searched this on goggle,I found that would be done using web service.Can you please tell me how to bind hard coded value in dropdownlist
28 Feb 2014 by 1989priya
Hi.... I want to to know,when my cursor move from one textbox to another textbox, If you did not value in textbox1 then a validation should work using jquery
5 Mar 2014 by 1989priya
Hi...can you please explain me how to bind hard coded country name in list in web service and then how to call that method in jquery,that method will be use for bind data intodropdownlist???
11 Mar 2014 by 1989priya
Hi...I wanted to do validation on confirm password using jquery.I did but that is not woking.I show you my code.Please let me know what the error in this..$(document).ready(function () { $(#form1).validate( { rules: { ...
18 Aug 2015 by 1Future
Hi All ,I am quest new to jquery and JavaScript . but in my project I have got a fancybox returning some information but I neeed to create a new instance of it . How would I go about doing this please ?how would i create a new instance of it in the code below .. thank you script...
3 Nov 2015 by 1Future
Hi All,I need to get the selected value from a dropdown using jquery. Then i want to send this selected value to an Action Result Method in my controller possibly using Ajax call . As i am pretty new at this i'm not so sure on how i would achieve this.so i have got an Action Method like...
21 Nov 2017 by 1Future
Hi All, New to client end programming and i was hoping someone could help on how i would go about in achieving this. I have the following below in my project Markup code
5 Dec 2016 by 1suli0
I'm trying to build simple photo gallery, with BxSlider and I implemented adding and deleting functionality, but slider doesn't show images after page loads,only shows white box, and I have no idea what is the problem.This is the controller:using System;using...
20 Feb 2012 by 2011999
Dear All,I wrote a jQuery code but when I click the button it does not response. We need any supported files down load.$(document).ready(function(){ $("button").click(function(){...
21 Mar 2012 by 2011999
Dear All,Please provide best jquery training links
25 Mar 2012 by 2011999
Dear All,if two int values, return their sum. Unless the two values are the same, then return double their sum using jquery or javascriptsumDouble(1, 2) -> 3sumDouble(3, 2) -> 5sumDouble(2, 2) -> 8public int sumDouble(int a, int b) {if(a==b) return 2*(a+b);else return...
10 Nov 2014 by 2011999
[HttpPost] public ActionResult Save(tblUserInfo userinfo) { string message = ""; if(ModelState.IsValid) { try { using(AjaxInsertDBEntities aid=new AjaxInsertDBEntities()) { ...
4 May 2018 by 204.sharma
Hi, I have a 7 properties model. I am appending model controls dynamically in view. now i want to get all controls values in my controller and if any error comes at server side then want to pass same model object to view. The requirement is collecting child information of a person. In view...
5 Aug 2013 by 210032278
When i run my application this message shows up"Procedure or function 'AddElection' expects parameter '@Election_Start', which was not supplied."Here is my code jQuery UI Datepicker - Default functionality
11 Jul 2021 by 210032278
i have a code that i want it to add dates on the database but when i execute the code it saysObject reference not set to an instance of an object.here is my jquery calender control jQuery UI Datepicker - Default...
16 Dec 2013 by 21joy
Microsoft JScript runtime error: Object doesn't support this property or methodin jquery.min.jshow to solve this problem
25 Apr 2015 by 23741
You can't go wrong with: Programming Microsoft ASP.NET MVC (3rd Edition) (Developer Reference) Paperback – February 25, 2014by Dino Esposito...
30 Dec 2015 by 23741
Not something I like doing - but you could always make your two vars global:(for expediency reasons)var fruitAnchorId;var vegAnchorId;function RefreshPullDownValue(anchorId) { //checking if anchorId contains FR or VEG if (anchorId.indexOf('FR') >= 0) { fruitAnchorId =...
28 Dec 2014 by 404 valid
Am trying to do a validation using minlength. The code works on jsfiddle but it doesn't work on my html page.JSfiddleFull code:
5 Feb 2010 by 4277480
do you mean something like this Daniweb[^]---------Answer 2:Lock ASP.NET Page and Show Animated Image While Waiting for a Long Post-Back[^]Follow the code in this project
8 Nov 2018 by 4d.kh4n
This Solution help fix my problem might help u. for more info check this link: columns.createdCell Using createdCell manipulate the DOM within columnDefs options. For example, var table = $("#datatable").DataTable({ searching:false, data: data, "columnDefs": [ { ...
21 Dec 2015 by 7045Jeegnesh
Try thisvar getCountries1 = function () {var coutries; $.ajax({ url: "http://www.geonames.org/childrenJSON?geonameId=6255150", type: "post", asyn: true, success: function (data) { countries = data; ...
25 Feb 2015 by 8421441333
I have a gridview from it i want save all rows at a time ,Can I make a datatabel of gridview datasource and pass it to SP
25 Feb 2015 by 8421441333
I have a gridview in that i have a checkbox also which is bounded through JQuery and now i want to save checked rows of gridview to database how can i do it?
28 Feb 2015 by 8421441333
following is my code to bind gridview ,I had successfully Binded it with checkbox but now am not able to get checkbox change event of checkbox which is in the grid ,ahead i want to do calculation of 2 column in 3rd column of selected row.$.ajax({ type: "POST", ...
28 Mar 2012 by 98onam
Hi, I want to create a grid with jquery and php so that i should add a new row by clicking on add and update or delete each row..any one please help me with the entire code for this...Edit: Unnecessary code tags removed.
16 Jul 2014 by @p@richit
I am using asp.net jquery validation of asp.net Tutorials[^] . but i am trying to the enable property false of button next until all the fields of form are not filled properly . for example the image in given below....
4 Aug 2014 by @p@richit
hi i am using auto complete JS for to textboxs.for the first textbox its working properly but when i used to do the same code for the another texbox its not working. please check my code is below $(document).ready(function () { ...
27 Aug 2014 by @p@richit
Could you please help me in highlighting the typed words in the auto complete text box. i am already populating the auto-complete words and i need to just highlight the typed words alone.i am new to Jquery auto-complete.My code is: ...
26 Aug 2017 by @Shiv
Easy and simple ReCptcha tool for Web Application in pure C# code, no JavaScript external plugin required
20 Feb 2018 by @Shiv
I think you can try below code for your javascript block, it should work. $( document ).ready(function() { var dateToday = new Date(); $(function() { $('#datetimepicker2').datepicker({ maxDate: dateToday }); }); });
30 May 2014 by [NOPE]FOREV3R
There are three methods to do this but you need to combine the strings yourself:getDate() // Returns the dategetMonth() // Returns the monthgetFullYear() // Returns the yearExample: var d = new Date(); var curr_date =...
10 Sep 2012 by __TR__
check these CP articles Calling Web Services From JavaScript - Using SOAP Client[^]How to call a Web Service from client-side JavaScript using ASP.NET AJAX[^]Webservice Using Javascript.[^]More resources here[^]
12 Sep 2012 by __TR__
Take a look at this article. You might find it helpfulHaar-feature Object Detection in C#[^]
12 Sep 2012 by __TR__
You can use the onkeypress [^]eventHere is a sample[^]
16 Nov 2012 by __TR__
Here's a website with video tutorial on JqueryjQuery Tutorials[^]As mentioned by Milind Head First jQuery[^] is a good book for beginners.You can also find a lot of CP articles on Jquery here[^]
20 Nov 2012 by __TR__
Head first JQuery[^] is a good book for beginnersYou can find some good videos on jQuery here[^]For more resources Google[^]
18 Dec 2012 by __TR__
There are a lot of tutorials available online for jquery.jQuery Tutorial[^]is a good place to start.here [^] is a video tutorial on JqueryIf you are looking for a good book for beginners, check this[^] For more resources google[^]
21 Dec 2012 by __TR__
Try Google[^]Here [^] is the first link that google returned.You can also try this[^]
23 Dec 2012 by __TR__
To link to an external JavaScript file, you add a src attribute to your HTML script tag and specify the location of the external JavaScript file.
28 Jan 2013 by __TR__
As Ankur\m/ suggested jquery API documentation provides all the information you need. $.ajax()[^] performes an asynchronous HTTP request.You can find a lot of tutorials on this here[^]Here are some good tutorials on jquery. I would recommend you to go through those tutorials before you...
30 Jun 2012 by _Amy
Hi,Here is a grate article on grouping header:Group GridView Data[^] http://www.csharpaspnetarticles.com/2008/11/merging-gridview-headers-to-have.htmlhttp://redsouljaz.wordpress.com/2009/06/12/create-multiple-row-group-header-in-gridview-asp-net/Follow the above link..You'll find...
12 Jul 2012 by _Amy
Hi,Please refer these links:Client Side Gridview Pagination using JQuery[^]Load ASP.Net User Control Dynamically Using jQuery[^]All the best.--Amit
17 Jul 2012 by _Amy
Hi,Here you go:GridView selection by key[^]GridView Rows Navigation Using Arrow (Up/Down) Keys[^]Here[^] you can find a small discussion on it.--Amit
3 Aug 2012 by _Amy
Whenever post-back occurs, the posted-file property becomes blank, so people handle file control in many ways likeyou can place a button (say Upload) near to file upload control, now user will select file and hit the button upload, on the click event of the upload button u can set the...
7 Aug 2012 by _Amy
Hi,Refer the links below:Add, Delete Items in DropDownList, ListBox using Javascript[^]http://asimsajjad.blogspot.in/2008/12/dropdownlist-addremove-item-using.html[^]http://chiragrdarji.wordpress.com/2007/06/06/add-items-in-drop-down-list-or-list-box-using-javascript/[^]--Amit
29 Aug 2012 by _Amy
Follow the steps:1. Add the JQuery library to your project.2. Link your JQuery file to your aspx page.3. Remember, before writing script or linking script file your jquery should be initialize. like this:
12 Sep 2012 by _Amy
Hi,Try this javascript function in onblur event of your textbox:function fnCalculate(){ //Get the texts from both textboxes var txt1 = document.getElementById("TextBox1").value; var txt2 = document.getElementById("TextBox2").value; //Substract that var res =...
12 Sep 2012 by _Amy
It's not possible to validate a HTML control using RequiredFieldValidator. If you want to validate your HTML control client side only then you need to use JavaScript.RequiredFieldValidator is used only for server controls.--Amit
17 Sep 2012 by _Amy
Try this:function ValidateAboutYouMAIN(){ var myVar=validateAboutYou(); if(myVar==0) { alert("value=0"); $('#aboutYouEditable').fadeOut(500); window.close(); // You missed. Although you are using fadeout you need to use close function also. } ...
14 Oct 2012 by _Amy
It's not possible. Without refreshing the page you cannot load the dynamic contents. You need to refresh or reload your page either partially or fully. In this case you can refresh only those area of the page which is required to be updated. For this, you need to use update panel there. And...
21 Oct 2012 by _Amy
Why you want only div? It could be anything, but the matter is, 'It should look like modal popup'. Refer the links below:Simple jQuery Modal Window Tutorial [^]Jquery Modal Popup Dialog[^]14 jQuery Modal Dialog Boxes[^]7+ jQuery Modal Popup Window Plugins With Tutorials, Demo and...
6 Feb 2013 by _Amy
You can go ahead with the links below:Creating multilingual websites - Part 1[^]Creating multilingual websites - Part 2[^]Creating Multilingual Websites - Part 3[^]You can check the similar threads here:http://css-tricks.com/forums/discussion/13695/multilingual-site-how-to/p1[^]How...
21 Feb 2013 by _Amy
Yes, it'll disappear.As I can see onclick flip1 of flip control you are showing the panel. when entire page will be posted back to the server, it'll recreate it's shape. To avoid that you should use Update Panel[^] for the partial update/rendering of the page.ORA .NET button causes a...
14 Mar 2013 by _Amy
Hi Karthick,You need to use SqlDataReader Object to read the data from database. And also you can assign the value of your table to a control using reader object.See the link:Retrieving Data Using the DataReader[^].Try this:SqlConnection con = new...