I have more than 1000 lines in a big jquery plugin, that is actually a big class, that inludes some others classes, but they have to be in the same file.
I inlcude a piece of code. If you have another way to simplify the code..
The actual problem is that i have a gallery with a lot of things, is dynamic with smart ajax data loading so i...
I'm doing my first Ruby on Rails project. I am working on a project where the user can add a new message. Then they can add updates to this message like a thread. I've got it all written and now I'm going back and applying some AJAX. I want to show just the main message when the page first loads. Then when I click a link I want an A...
Okay, so I have an issue with an AJAX request. I currently have this URL:
http://www.google.com/images?hl=en&safe=off&gbv=2&tbs=isch%3A1&sa=1&q=cars+imagesize%3A500x500&aq=f&aqi=&aql=&oq=&gs_rfai=&start=0
I then pass it to my proxy script by modifying the string to this:
proxy.php?url=http:/...
Hello, I have a master detail screen In ASP.NET MVC, when I submit something, It instantly returns to me a grid with the inserted value via Ajax, my problem is: I want to pass a message of failiure or successful via an jquery modal dialog or infobar and I can't pass a viewdata for the jquery to process It. Any ideas?
...
I have a form with the following:
<% form_remote_tag :url => {:action => :wotsit} do %>
<%= submit_tag "Foo" %>
<%= submit_tag "Bah" %>
<% end %>
I would expect that the submitted parameters would reflect which button had been clicked. However, no matter which button I click, the submitted parameters include "commit"=>"Foo".
Wha...
I'm totally new to jQuery and Ajax, and I'm just confused trying to work out whether, if one is using jQuery, one needs the Microsoft Ajax stuff at all?
I'm using ASP.NET MVC (and the last time I did web development it was all about posting the whole page back to the server).
...
Hi all
I am working on a shopping site and I am trying to calculate the subtotal of products.
I got my price from a array and quantity from getJSON response array. Two of them multiply
comes to my subtotal. I can change the quantity and it will comes out different subtotal.
However,when I change the quantity to certain number, the...
I have four controls in a page with update panel.Initially mouse focus is set to first control.when I partially post back the page to server the focus automatically moves to first control from the last focused control from the control I have tabbed down to.Is there any way to maintain the last focus?
...
no clue what im looking for, so if you can tell me what this is, what i should lookup for this.
http://website.com/page.php#article23
The Number sign isnt a url request, like GET or POST, its more of a "Ahref Name", but this was with ajax, where it would change the whole frame, wondering what its called.
...
Hello,
i did a small ajax div refresh, but instead of replacing the values with the new ones, jquery adds the new data before the old ones.
What possibily causes that please ?
<script type="text/javascript">
$(document).ready(function(){
$('#AJAX').click(function(e){
e.preventDefault();
var heberg...
OK, I know how to call a simple old fashion asmx webservice webthod that returns a single value as a function return result. But what if I want to return multiple output params? My current approach is to separate the params by a dividing character and parse them on teh client. Is there a better way.
Here's how I return a single function...
I'm writing an AJAX web app that uses Comet/Long Polling to keep the web page up to date, and I noticed in Chrome, it treats the page as if it's always loading (icon for the tab keeps spinning).
I thought this was normal for Google Chrome + Ajax because even Google Wave had this behaviour.
Well today I noticed that Google Wave no longe...
I read some AJAX-Form tutorial like this. The tag form is used in HTML code. However, I believed that it is not necessary. Since we send HTTP request through XmlHttpRequest, the sent data can be anything, not necessary input in form.
So, is there any reason to have form tag in HTML for AJAX application?
...
Hello,
I need to perform asp.net web-service function call via jQuery and pass asp.net application path to it. That's the way I'm trying to do it (code is located within asp.net page, e.g. aspx file):
var d = "{'str':'<%=System.DateTime.Now.ToString() %>', 'applicationPath':'<%=GetApplicationPath() %>'}";
$.ajax({ type: "POST...
I'd like to write myself a simple script that uses AJAX to load the content from each page on my main navbar into a hidden div on the current page.
This is just so that I can preload as much of my important content as possible and get it cached on the user's computer (hopefully) before they've finished with the current page and want to ...
I am currently using displaytag for tabular data, but would like to create a "kayak.com-like" interface where when a user clicks a row, the user is shown more details about the particular row without a page refresh.
For example, before clicking Details link on Row 1:
row1|col1|col2|col3|col4|Detail
row2|col1|col2|col3|col4|Detail
row...
Hello.
I am using google ajax api
How can I load custom js which depends on libs loaded by ajaxapi?
...
Jquery i dont have alert and firefox i dont have anything in return. The code was working before, database query have successfull records also. What i am missing???
Jquery ajax.
$.ajax({
type : "POST",
url : "include/add_edit_del.php?model=teksten_display",
data : "oper=search
}
});
PHP
...
I am trying to create a UserControl that is a composite control for entering Dates. It involves 2 drop down controls (one for month and one for day) and a text box for year. It also has a CustomValidation control that I would like the user of the UserControl to be able to set the ClientValidationFunction property and have it triggered w...
We have an application which uses ScriptManager to generate a client-side proxy which makes AJAX calls to web services. The web services being invoked live in a separate appDomain(separate cluster altogether). The problem is that our application uses a State server for storing session. I want the web services to be able to access sessi...