Sometimes in my application there are many elements loading so I want to show the typical AJAX spinner above the control (or DOM node) with it disabled.
What is the easiest/best way to do that?
Ideally I would like to:
$("#myelement").loading();
$("#myelement").finishloading();
Or even better being able to do AJAX requests directly ...
I'm using the date picker but I am a little confused about where it decides to place the date picker on the screen. On one screen it's fine but on another it gets stuck hiding behind a flash object. Can I force it to attach to the bottom right corner of the place where the datebutton is clicked? I was looking in firebug and it seems to j...
I want to display time in textbox or in something like a numericupdownextender used in AJAX so that the user can change time as he desires..
i have used the control to show numbers and increase accordingly..
is there a way to do this..
new code but not what is desired...
<asp:TextBox runat="server" ID="txtHour"></asp:TextBox>
<ajaxT...
I need to develop web application using ASP.net with C# to handle mysql database (viewing, adding, updating, and deleting).
usually I would use asp.net webform to develop this application with C# but now I'm considering to use AJAX but not sure if I should use it or not.
I have the option to do it.
should I switch to AJAX or no need a...
Wondering if there's any jquery library/plugin that can easily perform the following.
At main page
Susan Liew (click here to update user profile)
When click, will trigger a lightbox type 2.0 style modal popup to show up a user profile modification form.
This should be ajax, jeffrey's user profile primary key will pass into the moda...
Using jQuery I would like to loop through an array of links and load the contents of each link into a DIV after a set interval. For example, if I have my parent page "parent.html" and an array of links - "test1.html, test2.html and test3.html" I would like to initially load test1.html into a div within parent.html and then after a set in...
In my Rails app, I have a model called "Photo" and a PhotosController. As would be expected, I've RESTfully routed the URLs so that the URL "/photos" returns an HTML-rendered list of all photos (as thumbnails), and "/photos/foo" returns an HTML-rendered representation of the photo with the friendly_id of "foo". (I also do XML, JSON, and ...
I'm trying to create a contact form. However at the top of the form the user can select using radio buttons whether he's contacting the technical department or the marketing department. Depending on which he selects, the entire form changes.
How would this be implemented within the Zend Framework? I'm already extending Zend_Form to mak...
as we know that in jquery / Ajax we have lot of slide show projects, but i am looking for fast slide show of images specially for slow internet connections,
most of the scripts load all the image on page load which make it slow.
one idea may be it load one or two images at a time then load next two images once page is loaded and contin...
On my website I am using ajax post request to show content around my site, this is done using this code,
$("a.contentlink").click(function(ev) {
ev.preventDefault();
$('#main_menu').hide();
var url = $(this).attr("href");
var data = "calltype=full&url="+url;
$.ajax({
url:url,
type: "POST",
da...
I am writing an application that renders a list of "Job" objects from an AJAX JSON response.
What is the best way to Render the markup from the returned data. Now I'm pretty convinced that its a bad idea to generate HTML markup on the server side and return that from the AJAX call. From experience it makes the HTML hard to maintain an...
Working with JSON is quite new to me, yet I already like it. But i'm facing an annoying issue.
Here's how things work:
jquery makes an Ajax request for a specific url,
this url is a STRUTS action, and, on success, returns a specific jsp
this jsp includes JSON taglib (http://www.atg.com/taglibs/json) in order to render proper JSON formatt...
hello, I have a button that depending on a class value should send different values to the POST however what ever happens it is only running one condition, whatever I do I can only get it to send the POST the method=add data.
This is my code
$("a.navlink").click(function (ev) {
$(this).removeClass("active");
var url = $(this).a...
I have a big rich-internet-application file (qooxdoo,js,html). The users use their browser to point to the web server and run it. The problem is that it takes a long time for the users to load the application every time they visit the site.
Is there a way to somehow "bundle" and save the application locally and have the user refer to i...
I modify my RoR application to calling a create.js.rjs after created an item. I want to reload a specify div in my page after I create an item, how can I do that?
When my div have a ruby object like this:
<div id="categoryList">
<% @categories.each do |category| %>
<%= content_tag(:dt, category.name, :class => "menu-table")%><%...
Hi There, I have a blog where each post doesn't have a detail page. Therefore each blog post has a footer link that loads comments and the comment form via jQuery ajax .load(); The code below doesn't work in IE6/7/8 but it does work in FF/Safari/Chrome.
Also, I'm pretty new to jQuery and javascript, and the code just looks so bloated. Ca...
I have a situation where I call Facebook.showPermissionDialog('offline_access'...) then later I make an ajax.post call. The ajax.post call fails if the call to the permission dialog was made prior. But it succeeds when the permission dialog was not called prior. Is anyone aware of some relationship between this dialog and ajax.post?
If...
I am trying to transition to next state of a WebFlow using Ajax requests. But it stays in the same state and returns the GSP as response for that state while I am expecting the GSP for the next state.
Following is the WebFlow code:
def gettingStartedAjaxFlow = {
flow1 {
on("next") {
...
I would like to display a large number of results without multiple "pages" to load results "0-99" on page 1, "100-199" on page 2, "200-299" on page 3 etc.
Thus my idea is to create a sort of pseudo-continuous scrollable data list. So essentially, data would be loaded as necessary but only if scrolled to. The box of data would then woul...
For my current project I am working on a home page that has a series of tabs above a content box that each execute an ajax script to load new content into the content box. However, some of these pages contain a flash object called with SWFObject and when the ajax script calls the page, the SWFObject javascript is not executed and I am l...