Tagged Questions
jQuery JavaScript Library suite for AJAX requests. A full set of functions that allows user agents to load data from the server using asynchronous HTTP requests, without requiring a browser page refresh.
0
votes
0answers
14 views
Jquery append values to a url as query string
I tried some jquery to append my check box checked values to the url as query string the code is working nice but when I check more than one checkbox the url will like this.....
...
0
votes
1answer
26 views
how to get the name from the id in select2 combo?
I have select2 ComboBox the data is loaded by Ajax. I am trying to set the default value to the select2 by reading the id from the input value (which is set on the server side) and set it to the ...
0
votes
0answers
10 views
jquery file upload plugin not working in firefox
I have the following script to upload profile image. When i click on the finish button, form is submitted. In chrome every thing is working but in firefox it is not working. On server side i am ...
0
votes
0answers
13 views
Ajax / Jquery - append new items but check don't already exist in DOM
I have a container div which includes lots of element divs all of which have a unique ID. I then make an ajax call to get more elements and append these to the DOM.
This works using the function ...
-5
votes
0answers
24 views
Update Content With Ajax And Ajax Auto Refresh Div [on hold]
I'm developing a web page and would like to add Ajax post option in the index page...
i.e when the user submit the post it will store in the database and display the content below the post form ...
0
votes
1answer
13 views
Jquery - Read HTTP response from a promise/deferred Ajax response
I'm new to jquery promises and deferred objects. I'm trying to get or analyze the response of a POST/PUT/DELETE ajax request. I'm looking to be able to read the HTTP status code (200, 204, ...).
...
0
votes
0answers
8 views
Two ajax request with divided work vs one ajax request having complete work
I want to know, is calling to server with n ajax request that complete the whole work in n part is more efficient or calling the server with 1 ajax request that complete the whole work in it, is more ...
0
votes
0answers
6 views
jQuery Address plugin, browser doesn't refresh as it should
I am using jQuery address plugin in the following way:
1. user visits main site (example.com)
2. user clicks in article title. Address plugin changes the address to (example.com/article-1) and Ajax ...
0
votes
1answer
30 views
Submit form and get data to control
Hello every one,
I am new to MVC. I have truck with in a problem. My issue is,
i want to submit a form like,
$("#formid").submit();
and i should get the return partial view of ...
0
votes
3answers
22 views
Tablesorter functionality not working after jquery ajax call?
In document ready() function i am binding dropdowns and calling dropdowns chagefunction() and binding table results.But tablesorter() not working after that ajax call.,please let me know how to call ...
1
vote
1answer
17 views
File button does not upload the image through ajaxForm after styling it
Here is the scenario..
I have a file upload button which is used for uploading images through ajax and preview the image in the browser. It also shows a loading bar when uploading happens.
Now, I ...
0
votes
0answers
16 views
Using Codeigniter's Upload Library with Uploadify (Uploadifive)
I have an upload "document" form that I had running as it should through the normal Codeigniter upload library. However, I need this to work as a Ajax call. I have an Uploadifive (which I purchased), ...
0
votes
1answer
15 views
Using Jquery for for an ajax uploader running into document error on trigger
I have a form that I am using jquery form to upload files with ajax.
The problem I am having is this.
the url the form is on is ...
0
votes
1answer
25 views
jQueryMobile Dynamic Pages - Events triggered multiple times
I'm working on a jQueryMobile website that let people order products. There are dynamic pages (such as product page) and I have some events in there (that calculates the total, refreshes the ...
0
votes
2answers
15 views
ASP.NET MVC Ajax request to Web Api
I currently have a ajax request setup to send a "PUT" request to a web api in my mvc 4 project. My request is able to get into the method on the api but the parameter is always null. Any ideas why? I ...
-6
votes
0answers
23 views
I am developing a commercial website using [on hold]
I am using Jqgrid for editing. For hgis I need to include cascading dropdown list in Jqgrid.
Please suggest me good and free Jquery cascading dropdown.
-1
votes
0answers
24 views
jquery append as first element in php ajax
** AJAX CODE**
<script type="text/javascript">
$(function() {
$(".btn").click(function() {
var value=$("#msgbox").val();
var dataString = 'value='+ value ;
$(document).ajaxStart(function(){
...
0
votes
1answer
14 views
Export to excel not working from HttpHandler J-Query AJAX
im have a weird problem whereby my functionality of exporting to excel doesnt seem to work.
im using J-Query and AJAX to pass html data to a http handler which has some simple context.Response code ...
0
votes
1answer
19 views
jquery Validation engine. Ajax error 200 parsererror
im trying to use the ajaxNameCallPhp to check if a username already exists in my database. I have never used this before so im struggling to get it working. When I input a username that already exists ...
1
vote
1answer
41 views
Bad Request, bad URI 400 Error
I'm 'ajaxing' my rails web app something I haven't done before. My goal is to add a product to the database without refreshing the page
I have a User and Product Controller. A user in his personal ...
0
votes
0answers
12 views
Can JQPlot draggable chart be dragged quantitatively?
I am drawing a JQplot chart, there are two lines in the chart, one is fixed, one is draggable, like the chart showed below
My question is, can the yellow draggable line be dragged more ...
0
votes
0answers
52 views
how to remove focused effect from a selector
/*Am implementing a dialog box where list and some message is displaying- In left key I removed the current focus using blur.And highlighting the message area"wizard_subtext" */
...
0
votes
2answers
9 views
Intercepting JQuery ajax
Good day,
If I am going to encrypt the data being passed by jQuery.ajax prior to sending to the network (regardless if the network is SSL'd or not), where can I inject that functionality?
Thanks,
...
0
votes
0answers
3 views
Variable filter in ajax REST call
First impression of teh ajax-functionality was just enthusiastic, but currently I am getting more and more frustrated as I can´t find any glue why the code is not executing.
I wanted to call an ...
0
votes
0answers
31 views
How can i start to build voice chat php? [on hold]
Hello guys, I want to learn build voice chat using PHP & Mysql,
i built php&Ajax chat text only previously
My questions :
Is it difficult to do that with PHP & Mysql?
Are there any good ...
0
votes
2answers
46 views
can we call a database using ajax?
I have created a html file,Now am creating next file to call a database from localhost using only ajax code,is there any way to call a database & to retrieve the data from the database using ajax ...
0
votes
0answers
10 views
How to retrieve Web API HttpResponseMessage in ajax?
First attempts at Web API and a little confused.
I've set up a basic Delete in Web Api:
public HttpResponseMessage Delete(string id)
{
HttpResponseMessage response = new HttpResponseMessage();
...
0
votes
0answers
8 views
Chrome developer-tools receiving time is shown wrong
Main HTML page loads some more HTML contents per AJAX GET request:
$.ajax({
type: 'GET',
cache: false,
dataType: 'html',
url: 'other'
...
});
That 'other' page contains some HTML as well ...
0
votes
3answers
20 views
Append the checkbox selected values with url as querystring
In my page I have some checkboxes.I need to pass the checked values through url as query string.
here is my checkbox code
<div class="panel-body">
<div class="rowElem">
...
2
votes
2answers
41 views
how to read parsed json data in ajax success call
On Ajax success call, I'm getting already parsed data in JSON format from a Spring controller.
I want to read that data, so while I'm doing below one, I am getting undefined as an error.
How can I ...
2
votes
2answers
33 views
How to fill dropdown when its master Dropwnlist change event works on table row
ddlInjuryType and ddlInjurySubType are two dropdown placed in same row that row will dynamically clone to next row on add button click. following code not filling "ddlInjurySubType"
...
1
vote
1answer
29 views
Asp.net MVC 4 Ajax post request not working and I can't figure out why
I'm working on an ASP.net MVC 4 application, and in one of the pages I have a form that I am iterating through all the inputs and converting to json data.
Using fiddler, chrome development tools, and ...
0
votes
0answers
16 views
jsonp not working on my webserver
I'm new to JSONP and I'm trying to access a cross domain file hosted on my webserver.
UPDATE: I found another solution to fix my issue: I used CORS for JQUERY of ...
2
votes
1answer
18 views
Geolocation API and AJAX requests
I'm working on a personal project that uses the W3C Geolocation API to retrieve the user's location and then load the weather forecast of that location using Wunderground's API by making an AJAX ...
0
votes
1answer
71 views
Quotes Around JavaScript Arrays (Probably Very Easy Fix)
I'm having a problem with quotes in my arrays, and it's probably a super easy fix, but I just can't figure out how on earth I'm supposed to fix it.
I'm using JQPlot to make charts of my social media ...
0
votes
1answer
15 views
Can't get the text inside label tags inside jquery-ajax function
I have the following JQuery/AJAX code:
$("button#submit").click(function () {
var form = $('#pick-status-form');
var selectedStatusID = ...
1
vote
0answers
50 views
I am having difficulty reaching a web service. Any ideas what changes are needed on my code?
I have struggled with this task for so long that I am hoping for a reprieve.
We have a web service called Validate on a separate server/domain.
Due to same domain restrictions, I came up with proxy ...
0
votes
2answers
33 views
Add additional data to jQuery wrapped object data in $.ajax call
I have this working code:
jQuery.ajax({
type: 'post',
url: 'http://www.someurl.com/callback.php',
dataType: 'json',
data: jQuery(':input[name^="option"][type=\'checkbox\']:checked, ...
0
votes
1answer
29 views
get content from page through AJAX wordpress
I'm using an wordpress theme and I want to load content from a page inside a div from another page.
Here is the code from the page which I want to load inside the div :
page-usercomments.php (this ...
0
votes
2answers
22 views
Accessing JSON value without knowing the key
I have a json structure as shown in the image. I want to fetch the extract value. Normally I would do
$.ajax({
type: 'GET',
url: 'test2.php',
dataType: "json",
...
1
vote
1answer
35 views
send json object through javascript to python web service
I am trying to send a json object from javascript to a python webservice. But the service always treats it as a string. Below are the client and server side codes:
CLIENT SIDE:
...
-3
votes
0answers
24 views
Using $.post but not getting the proper data
I am using this code.
function getMember(id){
$.post('/ajax/get_team_details/', {member_id:id}, function(data){
if(data.success){
console.log(data.memberInfo);
...
0
votes
2answers
26 views
Read a JSON Serialized List<string>
I have an ordinary List<string> that I convert to JSON with System.Web.Script.Serialization;
The result is something similar to this
[
"string1",
"string2",
"string3",
"string4",
...
1
vote
1answer
25 views
How to highlight selected rows in table grid when searchtext matching using jquery?
Displaying row values in table grid. whenever user seraching particular record then i need to check that text matching with any of the rows.if matched the record need to change the background color of ...
0
votes
0answers
9 views
AJAX JSON error
I followed a tutorial and created RESTful webservice using Spring and deployed in tomcat. When I access the URL through browser or POSTER, it gives me the json data.
URL: ...
0
votes
1answer
24 views
how to show loading img inside img till ajax request
I want to show loading gif inside a image,
I am retrieving image and values from the database, image will be shown in img control and values will be shown in textbox,I want till the image is retrive ...
0
votes
1answer
17 views
Domain Lookup Script execution time
I need to lookup domains names from an XML file and then loop through each domain to see whether it exists or not..
Im using below approaches..
1.fsockopen()
2.checkdnsrr()
Number of records in XML ...
0
votes
1answer
36 views
retrieving information out of database with ajax and codeignitor and returning it
I have a site showing products and when you click a product you get the product details. Now every product has a few different models that are all stored in the database. So when you select an option ...
0
votes
0answers
24 views
trying to get screen size with php and javascript
I'm trying to create an "image" in a php file depending on the screen size
here's the html file
<div class="myImage">
<img src="testimage.php" alt="testimage" name="image" ...
1
vote
3answers
40 views
Stripping/removing the first line out of a html when importing data from an ajax query using jquery?
In the code below, I want to edit it so that it strips out the first line.
function update(url,cln){
$.ajax({
url: url,
dataType: "HTML",
error: function(msg){
...