0
votes
0answers
9 views
History.js scripts, .on() etc
I'm playing around with history,js, in fact, I'm using Ajaxify too https://github.com/browserstate/ajaxify
So got the basic pages up and running and the scroll back to the top works fine.
So I'm ...
0
votes
0answers
29 views
Saving Google map Points to a database
i have been playing with the Google maps trying to make a tour and save the start end and the way points in a database.
here is the java-script code that i use to pass the values
function ...
0
votes
1answer
33 views
Unable to receive values sent through post method
I am trying to send ID and sent from ajax_form.php to ajax_test.php()
my ajax_form.php is:
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
...
4
votes
2answers
50 views
How to send and retrieve data from web method using JQuery Ajax Call?
I have a text box and a button next to it. I want to send the content of textbox through Jquery ajax call to webmethod and get back the upper case value of the same and display that in alert. So far i ...
0
votes
3answers
23 views
How to hit the url in phone gap and parse the result using jquery?
am having one task in phonegap,that is registration page if the use click the registration page means the values are going to hit the url and if the users is alreay avaiable or not means it returns ...
0
votes
1answer
12 views
google maps move marker with lat/lng from ajax success returned data
Trying to move marker/map on interval with lat/long coords from sql db.
function initialize() {
var myLatLng = new google.maps.LatLng(41,14);
var myOptions = {
zoom: 16,
...
1
vote
2answers
51 views
cURL returns full HTML via AJAX - how to display to user?
I am building a Wordpress plugin to display a list of jobs to a user pulled from a recruiting platform API. On click of a job, a cURL request is sent to the API that pulls the job details as a full ...
0
votes
1answer
32 views
Handling huge ajax response with javascript
I'm building a site that uses jQuery File Tree. Sometimes the AJAX response from the server is huge: 900 KB, 70000 'files' (I'm not really displaying files).
Of course displaying this puts a lot of ...
0
votes
0answers
30 views
How to Display errors within drop down login box without refresh and reselecting login option
I've a drop down login box that works great when the input is as expected. Previously I had a seperate login page, if password etc was incorrect the message would be displayed.
Currently with the ...
0
votes
1answer
57 views
How to pass c# object to $.ajax
I have a simple javaScript code that I want to get an object from controller and parse it in script, but in script, I don't have access to any property of object.
My Object(in controller):
public ...
0
votes
0answers
15 views
Displacing a task with Jquery in an asp.net mvc application
I have a web application , inwhich i have a calendar with tasks,
i'am using this snippet:
@section logout {
<a href='@Url.Action("Retour", "Client")'><img ...
0
votes
2answers
48 views
Unable to fetch data from form to function
I have two fields in form and onsubmit() event I am calling function. When I click udpate button I could not get the values of "sent", all other values fetched correctly.
In case of insert button, ...
0
votes
1answer
7 views
Returning results not displayed with typeahead and bootstrap
I was spending all my time to resolve this problem.
I tried to make functionaly an ajax call with bootstrap+typeahead.
If someone can help me, it will be great
This my HTML part :
<div ...
0
votes
1answer
31 views
How to inspect the successful result of a jQuery AJAX request and abort the jQuery.load() before it inserts the content?
I am using the jQuery.load() method to make an AJAX request and insert some content into my page.
I would like to be able to add some kind of global handler that will inspect the result of my ...
0
votes
0answers
12 views
onunload Ajax not always working (Chrome extension)
I am writing a Chrome extension, and I want to fire a POST submission RIGHT before my client unloads a webpage.
To do this, I tried using both window.onunload and window.beforeunload. When the page ...
-3
votes
1answer
15 views
Displaying/passing PHP data inside javascript [on hold]
After looking around on a Google without any success, i feel posting here may be a good idea as I have used this site to answer previous questions.
Anyways, I am currently working on an HTML5 canvas ...
0
votes
1answer
22 views
how to unset session in javascript on slider change
How can I unset a session using javscript. I know this can't be done in javascript alone but we have to call a php script. I want to unset the session on the change of my sldier value. i.e.
...
0
votes
2answers
22 views
How to fire a method in aspx.cs file using ajax
I wanna call a method on PersonalDetails.aspx.cs page using Ajax. I have tried to it using following code. but it doesn't worked.
I just wanna fire the method included in the PersonalDetails.aspx.cs ...
-1
votes
1answer
43 views
Always login with password into the same database, whenever query or update at any time
Hi stackoverflow users
I had problem with the understanding when I build the PHP website to access to the same database.
I am using PHP, PDO and MySQL. I am confused.
Do the code always have to ...
0
votes
1answer
19 views
Rails partial not loading into view?
I have an app in which users have submissions, and folders to store and organize their submissions into. In my view, I display a list of all of the users folders, and ideally when the user clicks on a ...
0
votes
0answers
13 views
Use cookie with cross domain ajax call
I must use cross domain ajax,while the sever config which I cannot change is
Access-Control-Allow-Origin:*
when I set withCredentials = true to use ajax with cookie , I will get an error:
Cannot ...
0
votes
2answers
22 views
Asynchronous Google Maps request throwing off Javascript
I'm working on someone else's code, and I am trying to use Google maps API to convert a street address into latitude and longitude coordinates:
var start_lng;
var end_lat;
var end_lng;
...
1
vote
3answers
53 views
Why can't jQuery update array data before ajax post?
I am trying to create an array and get all values of a form submission and put them in that array. I need to do this because during the .each function of this code I must do additional encryption to ...
0
votes
2answers
36 views
How to do a MySQL query with AJAX without revealing db user password?
I'm new to JavaScript and AJAX. My experience is mostly in PHP. How can you do a MySQL query from JavaScript without revealing in the View HTML Source of the web browser the connection information for ...
0
votes
0answers
45 views
Insert into different tables using ajax/javascript
How would I insert content into a mysql database and from here take that freshly inserted data and utilise it into javascript/ajax variable, post it into a separate table and then take that freshly ...
2
votes
0answers
46 views
Is there any difference/advantage/disadvantage in using Web Methods in aspx.cs instead of asmx.cs?
I know that Web Methods are light weight and gives you speed since there is no post back. I found that a Web Method can be added to a .aspx.cs just like in .asmx.cs web service file. Is there any ...
0
votes
0answers
44 views
jquery on (click) event doesn't work [duplicate]
In my page I have a textfield input (with id myname). And when I writing a name in that field, I jusing $.get to get some name-suggestion to the input. All this div objects has a class "sug". And all ...
1
vote
1answer
36 views
How to use AJAX with node.js
I am relatively new to server side programming, however I am building a framework in order to learn and as end outcome deliver it to the public after it is finished.
I want some parts of the web ...
4
votes
2answers
25 views
ajax hash navigation is not working correctly
I want to use hashes for my navigation but my script keeps resetting the initial hash to #home everytime the page loads no matter what hash i add in the url:
here is the script that fires to test if ...
0
votes
0answers
6 views
Guetting LinkedIn account with javascript
Is there an easy way to get account information of my LinkedIn account with javascript ?
I would like to do this with à simple Ajax request.
Thanks
0
votes
0answers
18 views
jQuery SuperBox Loading HTML
For a project im doing im using jQuery SuperBox.
http://pierrebertet.net/projects/jquery_superbox/
What I want to do is load a HTML file without header and footer inside jQuery SuperBox when a link ...
1
vote
3answers
29 views
Append element not to end, before last elemet - in jquery
I'm tring to post comment with ajax post. But last comment element contains submit button. And after appending, new item appears after submit button.
<div class="commentContainer" >
...
-3
votes
1answer
24 views
shuffle() array() and update the Database with new results mysql [on hold]
pull information where available='0' then there are numbers it shuffles all the id and i want it to update the database with with new Numbers for each line.
$sql5="SELECT * FROM periodeight where ...
-2
votes
1answer
59 views
php echod JavaScript won't run?
I have a problem where when I echo JavaScript from a PHP page to a HTML page using AJAX it won't run however, when I Inspect Element the JavaScript is there, I also echo some text and the text does ...
2
votes
1answer
22 views
Is an open web socket connection blocking ajax request?
Just a quick question for general understanding. Could it be, that an open web socket connection is blocking ajax requests? Because ajax requests before initalization of the web socket connections ...
-1
votes
3answers
56 views
AJAX quantity Validation
I want to do a quantity validation using Jquery. I want to check for following
1) that the number is a whole number
2) that it not letter
3) that they is not decimal
4) that the max number is 99.
...
0
votes
0answers
22 views
Efficient way to parse SOAP web service response
I have a SOAP web service that generates a response in XML format. Would like to render this response to the web page. I am currently issuing web service requests on a timely basis, via ajax calls.
...
0
votes
2answers
19 views
jQuery's .html() does not return the value of an input element
I want to get value of hidden element named "login" on http://ts1.travian.ro/'s login page, in order to create a fake login for my Chrome extension.
I would like to do it without jQuery if possible. ...
0
votes
0answers
26 views
Servlet is not getting called
Inside my jsp page, I have this logic if a user performs a RemoveItem Action
On click of the Remove Item, based on the value selected, I need to fetch some information from Httpsession related to ...
0
votes
1answer
33 views
Changing ajax function to modal bootstrap
I been trying to use bootstraps modal for my site. now i need to change this following code to work along with the modal
$(document.body).on('click','.socialIcon',null,function() {
var id = ...
1
vote
1answer
20 views
executing javascript after bringing xslt page by ajax
how to execute javascript at a specific moment regardless of setInterval() or onClick()
the problem is that i'm getting an xslt page at a click (Ajax) and this page contains javascript that does not ...
-1
votes
0answers
37 views
GET JSON from a path to parse and update html markup [on hold]
Description:
I have a list of articles with a data-project=work.id
(ID being the articles' from which rails created).
On Click of one of these articles, pass that "work.id" to a method that I
...
0
votes
3answers
70 views
How to prevent js function from execute on page load
I try to send a confirm post with the sendPostAjax() function after the form send_button have been clicked and then submit the form to payment provider. But I get the sendPostAjax() function executed ...
0
votes
1answer
37 views
Ajax Call not updating DIV in firefox. Working fine in Chrome
I am sending chat message, and receiving them in particular div.. All read and write with ajax. Everything works fine in Chrome, but in firefox, it does not shows...
Here is my code :-
var xmlhttp ...
0
votes
1answer
43 views
How to make a jquery countdown timer connected to ajax action?
What im looking to accomplish is on my system when you click an action, the menu is hidden (disabled) and replaced with a count down timer. After the count down timer is up I'd like the menu to be ...
0
votes
1answer
32 views
Retrieving Numerical Data from MySQL Database using AJAX
Good evening. I am creating a game using CANVAS, PHP, MySQL and AJAX. It is a very simple game: it consists of a board, 8 squares tall and 8 squares long (like that of a Chessboard). The user is ...
0
votes
0answers
24 views
Ajax Contact form activation
I downloaded a template which i have heavily modded, but i have no idea how to implement the contact form, my knowledge on js or ajax is close to nothing.
the js code i found that pertains to the ...
1
vote
1answer
74 views
Reading data object of array in javascript
I have this json data from the server
{
"store":[{"skey":"asdsad123das","name":"Store1"}, {"skey":"3308d976d2647659f130d09593be845a","name":"joji store"}],
...
0
votes
1answer
55 views
How to change the querystring on the same page without postback
I want to change the querystring on the page where I write notes. When I save the note I want the querystring to have the entry for that note. So after the initial save the user can update based on ...
0
votes
2answers
24 views
Passing PHP through JQuery.Ajax Post & Changing html
I'm trying to create a facebook style like/unlike link and I need to pass some php variables through the JQuery. At the moment I'm passing:
<a class="likelink" ...