jQuery is a popular cross-browser JavaScript library that facilitates DOM traversal, event handling, animation and AJAX interactions by minimizing the discrepancies across browsers and providing an easy-to-use API.

learn more… | top users | synonyms (10) | jquery jobs

0
votes
0answers
5 views

json response date format to user defined date format

Following code is returning $("#dob") and $("#anniversery") date as 2014-04-01T00:00:00 My code <script> $(function() { function log(message) { ...
0
votes
0answers
5 views

Getting undefined is not a function Error with Every Library

I AM trying to use different libraries in ASP.Net MVC4 but almost with all I got " undefined is not a function " while using jquery functions. what is that and how can I remove it. Every id is ...
0
votes
1answer
19 views

Not able to load php page on ajax call

I am trying to load a php page when I click the navigation <ul id="navigation"> <li><a href="#page1">Page 1</a></li> <li><a href="#page2">Page ...
0
votes
1answer
8 views

Not able to detect browser using Modernizer

I'm recently looking all my project jquery to the latest version and I hit a road block when I heard that $.browser is deprecated and removed from the latest jquery version So I decide to use ...
0
votes
1answer
11 views

How to read the data from javascript in jtemplate

i have got the json data in my js file and now i need to pass the same to jtemplate and display. Here is the code i tried, but no data is getting displayed $.ajax({ url: ...
0
votes
0answers
6 views

Can I use telerik Kendo UI Editor on “ActionResult”(Controller) MVC

I have a data from Sql server,I am able to receive that data in ActionResult but that data is not in correct format(data came along with all html tags) which is unable to read easily, so my question ...
0
votes
1answer
17 views

Disable button if not match a record

I have here a script for matching records through ajax. What I need to do is if record match in database record don't disable the button. But my problem here was the save button was permanent ...
0
votes
1answer
14 views

How to generate dynamic tables with jquery by receiving json response from php

I want my output in following format. My design should be follows. I want help to design the above method. Please can anyone help me. I am storing rollno in student table and marks in marks table. ...
-1
votes
2answers
24 views

jQuery function to set a value for anything like 4.3, 4.1, 4.2 to 4.5 and anything like 4.6, 4.7, 4.8 to 5.0

I want to know if there is any function that can convert my values like... 13.1 to 13.5 13.3 to 13.5 13.5 to 13.5 13.7 to 14.0 13.9 to 14.0 I used round function but does not work on my scenario... ...
0
votes
2answers
12 views

Accessing inner tags data which has no class or id from outer tag

This is the html i have: <iframe id="edit-resp398__ifr" frameborder="0" src="javascript:"""> <!DOCTYPE > <html> <head xmlns="http://www.w3.org/1999/xhtml"> <body ...
0
votes
0answers
11 views

Need to calculate height of remaining div using jQuery

I have a second div filling the area not taken up by the header, and no footer. The second div's height is not defined except by height: calc(100% - 155px);. All good it works, but it's not working ...
-2
votes
0answers
16 views

Post request using jquery

I am building a webapp using Splunk using Django bindings I am trying to post on a page "getrequest.html" which is in same directory as "getrequest.html" ...
0
votes
3answers
36 views

dynamically increase row size of HTML table in java script

I am new to JavaScript and just learning the basics of it. I am doing a sample program and crated a javascript program to show some data in a html page inside div. but it is not dynamic. I have some ...
0
votes
1answer
33 views

How to load content with ajax properly

I have this .html page structure <section id="1"> </section> <section id="2"> </section> <section id="3"> </section> <section id="4"> ...
0
votes
0answers
6 views

How assign multiple values receive from collrollers to view through jquery ajax as json in playframework

I am play framework application developer. I am returning json in controllers to view file . I need to receive json and i have to assign to view file as table. I need to use scala in front end. Please ...
0
votes
3answers
32 views

How to get the value of selected checkbox in jquery and assign it to a json array?

I have a problem, I have little understanding about jquery that's why I am having a hard time with my code. I have a pagination of products. And there are checkboxes on it. And my simple goal is to ...
0
votes
0answers
10 views

Double tap and click conflict (jQuery and Hammer.js )

I'm trying something crazy, I'd like to implement an Instagram feature: twice taps to like. So, I'm using the latest versions of jQuery and Hammer.js. I'm not an advanced professional, but I've tried ...
0
votes
1answer
23 views

jQuery dialog not open second time

I am using jquery dialog box to edit product on Edit click. It is open on first product but not on second product while i am making a list for product following is jquery dialog box code ...
0
votes
0answers
5 views

Jqgrid add and edit dialog width

I created a jqgrid with some functionality. It working very well. I have a big form to add and edit box. So i would like to set the width of the form, so i search and get the code from google and ...
0
votes
0answers
10 views

Programatically play video through embed player is external javascript file

I want to set the src of the embed player in my CSHTML file from an external javascript file and automatically play a YouTube Video. How would I reference the CSHTML file? Would it be similar to ...
0
votes
1answer
16 views

jQuery Validation engine : How to show only one syntax error

While showing the errors like email etc it shows two messages This field is required Enter a valid Email How can i show only the 2nd error only even if the field is required.
0
votes
1answer
28 views

HTML and PHP drop down menu

It's actually an API integration with the server. Here's PHP code: if(isset($_POST['generate'])) { require_once dirname(__FILE__) . '/GetResponseAPI.class.php'; $api = new GetResponse($aid); ...
0
votes
3answers
41 views

how to get id of siblings in array?

Hi can you please tell me how to get all id's in array of siblings. I got the length of sibling. Now How to get id's of that in an array . . In a pic if user have 3 children. If it is click "First ...
0
votes
4answers
55 views

How to create get method inside javascript?

I am searching how to combine many code inside a javascript file. For example, I have 2 codes inside this js: First: --> code is for timer function, Second: -> for login action. I need ...
0
votes
1answer
12 views

Parse whole page when ready to add tooltips to specific words

I have a database relation that consists of a simple name: definition glossary for technical terms. The rows are fetched by the server and sent to the application via AJAX. My goal is, once the ...
0
votes
0answers
3 views

yql mess up with retrieved content

I'm trying to get raw content of my gist so that I could display. Here is the code: function requestCrossDomain(url, cb) { yql = "http://query.yahooapis.com/v1/public/yql?" + "q=" + ...
0
votes
2answers
25 views

Appending ul - JQuery

I am appending a ul list and its working perfectly except when I try to append my ul table I assign a class of start-dropdownClose which is hooked to a event listener: ...
-4
votes
2answers
50 views

How call two id's in JavaScript [on hold]

I have had problems with buttons on how to save data on the button to the form input. <div class="btn-group alignment" data-toggle="buttons-radio"> <button id="btn-one" ...
0
votes
2answers
30 views

How to return a function from a deferred object [duplicate]

I have a function which is passed a list of URLs (in this case a list of json files) that makes asynchronous ajax calls for each resource, and once they are done returns a single object with the ...
-4
votes
3answers
16 views

How to get title with class name

How to get value "Unlike" in this code <div class="pluginButtonContainer"> <div class="pluginButtonImage"> <button type="submit"> <i class="pluginButtonIcon pluginButtonXOff img ...
0
votes
0answers
21 views

Draw curve with 8 points

hey I want to draw the curve with 8 points. what I have is correlation point 0-20 on change of correlation i.e. 1 -20 the certain sets of points change with those points I want to draw the curve . ...
0
votes
0answers
18 views

Can't pass the data from routes to AJAX

I use play scala as a framework. I have this code in service.js angular.module('services',['ngResource']) .service('dataService', function($resource){ var newsItems = $resource('/newsdata'); ...
3
votes
3answers
68 views

How to push 2 items to an array

In this fiddle line 27 shows var doctors = [ new Doctor("Doc A","A1"), new Doctor("Doc B","A1"), new Doctor("Doc C","A3") ]; Here, Doc A, Doc B and Doc C are hard-coded. They are ...
0
votes
2answers
31 views

jQuery plugin only working on last selector

In my quest for learning more Javascript I'm trying to create a jQuery plugin that creates my own custom scrollbars. It is working fine for one scrollbar at a time but if I try to do two of them only ...
0
votes
2answers
21 views

nested ng-mouseover in angularjs doesn't work

I used the same approach with jquery which is the nested mouseover and mouseleave and it worked, but not with angularjs. I want to show the button when mouseenter into the <li>, but hide the ...
-1
votes
0answers
9 views

Using jquery to dynamically load html pages with different groups of images in malsup's open source cycle2 responsive slider- not working in firefox

Can someone take a look at my site in Firefox?: http://www.test777.biz The index page has Malsup's free Cycle2 responsive slider, but I used Chris Converse's method in his Lynda.com tutorial of ...
0
votes
1answer
38 views

AJAX with javascript vs. Php Form

So I am a student working on a website for a private client. In my web design class we have been taught to mostly use forms to pass values from the client to the server with action=someFile.php. The ...
0
votes
1answer
20 views

JavaScript template append

Hi I am using jQuery Ajax to "GET" "XML" data, and am trying to "append" the data as a "Template". And I am trying to append the Title: <div class="btn-group" style="margin:5px"> ...
0
votes
1answer
36 views

jquery events not working after dynamically adding elements with ajax call

its weird that all my jquery events turn unresponsive after a ajax call. Im a load function call and once the jsp reloads all the events just do not respond. any help ? the following is the code ...
0
votes
1answer
38 views

how to set max width to javascript pop-up

The html code below results in a link which says "sacola the compras" <div> <script type="text/javascript" src="https://app.ecwid.com/script.js?4549118"></script> <script ...
0
votes
1answer
34 views

How to loop over an array within a JavaScript object?

Very new to JavaScript objects, so I am not to sure how to go about doing this. Within my object, I have an array called myArray. I am attempting to loop over it to print out everything on the page. ...
0
votes
0answers
17 views

jQuery File Upload passing parameter

Html <form id="fileupload" action="//jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data"> <!-- Redirect browsers with JavaScript disabled to the origin page ...
1
vote
2answers
26 views

How to attach a scroll event to a text input?

I'm trying to attach a scroll event to a text input so that when you scroll-up, while the textbox is focused, it increments the numbers in it and when you scroll-down it decrements the number in it. ...
0
votes
5answers
36 views

jquery: add a style attribute to existing style

Add a style attribute to existing style properties I have a div element: <div id="permissions" style="clear: both; float: left;"> I want to set border on onsubmit event: <div ...
1
vote
2answers
17 views

next text wrap and add text

I do not know how to put text into strong and add "x". <span>something</span> 5 <span>something</span> 4 And I want: <br /><span>something</span> ...
0
votes
1answer
13 views

How to get value from one modal window textbox and put it to another textbox in another modal window?

I would like to ask you guys for a little help. I wanted to have my textbox in a modal to have the same value in another textbox in another modal window. The problem is I don't know how. I'm new in ...
0
votes
1answer
12 views

how to suppress a global ajaxStart / ajaxStop for a specific ajax call

I use something like the following for handling an ajax loading timer: $body = $("body"); $(document).on({ ajaxStart: function() { $body.addClass("loading"); }, ajaxStop: function() { ...
0
votes
2answers
26 views

body HTML height 100%

When I try to set html,body to 100% height, all the jquery scripts which rely on scroll position stop working. Why is this? http://creativelycoded.com/demos/Astonish/one-page/index.html Here is my ...
0
votes
0answers
22 views

Bootstrap responsive table active tab with ajax

So I am using Bootstrap's responsive table: <ul class='nav nav-tabs first-table'> <li><a href='#1' data-toggle='tab'>Tab 1</a></li> <li><a href='#2' ...
0
votes
0answers
6 views

Creating language file that is referenced with maphilight mouseover to display text

I have an interactive reflexology foot chart with an image map that when moused over swaps and image and shows the reflex name. I would like to also display some information about the reflex and the ...