Hi-
I am trying to find out more low-level details on the HTTP requests that various JS/AJAX frameworks create when sending JSON POST requests to the web server. I am looking most importantly for information on the following frameworks (but info about any other notable exceptions is appreciated): .net, jquery, prototype, DWR and MooToo...
Hi I'm using fullcalendar, jQuery and CakePHP. When using the clientEvents function I get all of the calendar events in an array of objects. I then pass that array to an action via jQuery's $.ajax of type post. But when I inspect the post data I get something like:
Array
(
[undefined] => undefined
)
What seems to be the problem?
...
Hey,
I've got problems with the jQuery scrollTo plugin.
I've got 2 DIVs (nav2 and content) and I'm filling them via ajax calls:
var myJs = { ...
getWithAjax : function( targetFile, targetDivId, anchorId ) {
// get is jquery function and wraps ajax call
$.get(targetFile, function(data) {
$('#'+targetDivId).html( data );...
I'm trying to send a form with mootools and depending on the response from the php script do such or such thing. The thing is I fail to be able to use conditional statements inside of the onComplete part of the code.
I'm missing something really obvious probably, please help me :)
$('formName').addEvent('submit', function(e){
e.st...
Has anyone ever tested, or does anyone know, the performance differences of these two different ways of rendering the same html content (other than the fact that one has imported the jquery library and the other hasn't, and that there are two requests in the Ajax version versus one)?
Add HTML via Ajax
<html>
<head>
<script src="jav...
Hi,
I am using ubuntu and opera browser.I applied ajax with php to upload image file.when i try to upload png file,file uploads with "lock" icon on it and also with permission problems.I also used chmod function but it also not working there.Please guid me to get rid from this problem.
With My Best Regards..
...
Hi,
I'm trying to make a script that automatically starts uploading after the data has been enter in the database(I need the autoId that the database makes to upload the file).
When I run the javascript the scripts runs the php file but it fails calling the other php to upload the file.
too much recursion
setTimeout(testIfToegevoegd()...
I am happy with what the RenderAction() function does. However, I'd like to ajaxify the loading and storing of data in the partially rendered action, so that everything happens in one page.
Imagine the following case: I have an article details view where there's an "Add comment" link beneath the content of the article. When it's click...
I am trying to implement a simple request to Wikipedia's API using AJAX (XMLHttpRequest). If I type the url in the address bar of Firefox, I get a neat XML, no sweat there. Yet, calling the exact same url with:
// this is my XMLHttpRequest object
httpObjectMain.open("GET", "http://en.wikipedia.org/w/api.php?action=query&format=xml&...
Ho do you reference code inside an AJAX tabcontainer? Is there an easy way?
I am using a datepicker script and I am having trouble referencing the calendar inside an AJAX tabcontainer.
This gives trouble cannot FIND it. Doesn't work
<img onclick="displayDatePicker('ctl00$ContentPlaceHolder2$TabContainer1$txtDateContacted');"
...
Hi I'm trying to pass JS object to a php script through jquery.ajax(), basically:
var bigArray = new Object();
//code
//start loop
bigArray[x] = {name: exname, id: exID, order:e, set: setBox, inc: incBox, example: exampleBox, day: i};
So its pretty much an array of these objects.
var anotherTest = $.toJSON(bigArray);
var ajxFile = "r...
Ive been messing with jqgrids alot of the last couple days, and I have nearly everything the way I want it from the display, tabs with different grids, etc.
Im wanting to make use of Modal for adding and editing elements on my grid. My problem that Im running into is this. I have my editurl:"editsu.php" set, if that file is renamed, on ...
Hey guys, I am trying to run a proccess by submitting an AJAX form:
<% form_remote_tag :url => {:controller => 'sender', :action => 'send'} do %>
<input id="messsageinput" type="text" size="44" name="command"/>
<%= submit_tag('Send', :id => 'button') %>
<% end %>
Then, the 'send' action creates a new BackgrounDRB job and does some ren...
I'm writing WatiN tests to test an Ajax web application and have come across a timing issue with Ajax requests.
After an Ajax request is triggered by an action on the page, I'd like WatiN to wait until the request is complete before validating that the page was updated correctly.
I have a feeling that the solution will involve eval-in...
I am using jQuery slimbox with it's API.
Here is my JavaScript that gets image paths via JSON, and then launches the slimbox via it's API.
$('#main-container').append('<span id="check-our-adverts">Check our Adverts</span>');
var advertImages = [];
$.getJSON( config.basePath + 'get-adverts/', function(images) {
advertIma...
I would like to have a box. In the box a user enters a string and presses the OK button.
This request is then sent to the PHP backend, which gives me back 20 rows of results.
But, for each of those 20 rows, I'll also have a few columns, but this data will take much much longer to generate (~10 seconds each, not from MySQL, but separate ...
I'm working with an AJAX button and label controls. When the user clicks the button, the data is updated in the label.
But after clicking the button, the Page_Load event occurs, and I don't want it, because all data is being initialized to default values.
How can I check in Page_Load event that it's an AJAX request?
I'm using UpdatePa...
Currently I am using John Resig's LiveQuery plugin/function - http://ejohn.org/blog/jquery-livesearch/ - to allow users to sort through a long unordered-list of list-items. The code is as follows: $('input#q').liveUpdate('ul#teams').focus(); The issue arises when I use ajaxified tabs to sort the lists. Essentially I use ajax to pull in ...
Thus for used ajax enabled wcf services to get records from DB and display it in client without using AsyncPattern property of OperationContractAttribute....
When should i consider AsyncPattern property?
Sample of my operationcontract methods,
[OperationContract]
public string GetDesignationData()
{
DataSet dt = GetDes...
Hi,
In my application,i have four columns in my datatable.Initially, except second column all the other columns displays the value. The second column values should be displayed by automatic refresh.
like
Initially table looks like
ID type Name Color
1 Benz White
2 Maruti Grey
3 Renault orange
4 VW pink
Aft...