-1
votes
0answers
43 views
Calling a php function through javascript
I'm wanting to use webiopi RESTful api, to display and change the gpio variables using ajax.
I have a php function I can use but i can't quit get my head around calling it using javascript (ajax?) or ...
0
votes
1answer
10 views
NETWORK_ERR: XMLHttpRequest Exception 101 with jQuery ajax call on Chrome
Ive found alot of articles about this exception, most of them suggests turning async to true or they regarding cross-domain request. My case not related to that two categories.
This is my JS code:
...
3
votes
1answer
25 views
How to automatically “load more” at the end of a mobile page
How could I fire an ajax request automatically at the end of a mobile page (with jquery and jquery mobile)? The code
$(document).bind('pageshow #item_search', function(){
...
0
votes
2answers
33 views
jQuery Dynamic form submission and Ajax call
everything works, I get my json array returned in an alert, I just need to change the onSubmit event handler $('#city').submit(function() to something more dynamic that grabs the user input and runs ...
0
votes
1answer
47 views
Ajax doesn't work without alert box
the code below only works when in function setDiv, the line
//alert("waarom fout");
is not commented, how is this possible?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
...
0
votes
1answer
34 views
Printing Specific JSON array elements in Javascript
A PHP script obtains data from a MySQL database and returns an array to javascript using JSON. I can get the results but I cannot get them to print them out individually.
The PHP code -
...
3
votes
2answers
30 views
How can I set $.ajaxStart() and $.ajaxStop() to fire only on POST requests?
I'd like to set global handlers for ajax requests, but only for POST cases.
Unfortunately, global handlers $.ajaxStart() and $.ajaxStop() will fire for all requests and as far as I can see there is ...
0
votes
0answers
17 views
Handle request and response between ajax and java servlet
I'm trying to handle the request/responde between ajax and a servlet:
The user click on a Google map marker, and through ajax he call the comment relative to the marker using his id.
this should be ...
2
votes
2answers
43 views
jQuery ajax - no jQuery css
I am trying to navigate through pages with ajax. I have a header and footer a div with id="content" between those two. What I want to do is to replace the content, in order to this I have an onclick ...
3
votes
2answers
27 views
Posting javascript variable to server using xml
My first post here. I am new to Java/AJAX, but I have some experience in PHP. I am trying to pass html form data to a php file for processing. The goal is to have the php script process the form data ...
0
votes
1answer
30 views
Cancelling Ajax request on closing of DIV
I have some jquery which is designed to make an ajax request when the div is open. What I am concerned about is that there is potentially quite a bit of html to be loaded in the ajax call, and if the ...
2
votes
3answers
56 views
How to use Ajax call correctly to send form data to Webserver?
How to use Ajax call correctly to send form data to Webserver?
1
vote
1answer
53 views
Event when call ends / JavaScript
We want to log the JavaScript on our Website. For that I am overwriting the log functionality with my own implementation.
On the server side we are using Log4Net for our logging. My idea now is to ...
0
votes
0answers
21 views
Google Charts + Apache Wicket not working
I am trying to get Google Charts to work in Apache Wicket application. I have created a small test project, with an AjaxLink and a WebMarkupContainer. I have a separate javascript file that is linked ...
0
votes
0answers
21 views
Display data using ajax when two fields are selected Liferay
I am using ajax for displaying data. When I select a name from the drop box I use ajax and data of the selected name is displayed. I use the follwing script for this:
<script>
...