ajax

jquery, ajax and getting a complete html structure back.

I'm new to jquery and to some extent javascript programming. I've successfully started to use jquery for my ajax calls however I'm stumped and I'm sure this is a newbie question but here goes. I'm trying to return in an ajax call a complete html structure, to the point a table structure. However what keeps happening is that jquery eit...

jQuery nested XML question

I am using jQuery to insert an HTML shell into a page, and populate the shell with XML. Here is the XML in question <minorPropCategory title="Test Title 1"> <minorProp>FLV</minorProp> <minorProp>BLV</minorProp> <minorProp>RLV</minorProp> </minorPropCategory> <minorPropCategory title="Test Title 2"> <minorProp>LAS<...

Stress Testing AJAX

Hello My web application is almost exclusively AJAX-based, where data is fetched via a web service and returned via JSON. I'm using WAST to stress test, but I'm sure there are better tools out there for this job. Does anyone have recommendations? Thanks ...

SEO & Ajax

I'm experimenting with building sites dynamically on the client side, through javascript + a json content server, the js retrieves the content, and builds the page client-side. Now, the content won't be indexed by google this way, is there a work around for this? like having a crawler version and a user version? Or having some sort of st...

Ajax Image gallery / Open, Close Window Effect

Can anyone point me in the direction of such a script? It should also be able to work when called into another ajax window. This is the type of gallery i am going for: http://dageniusmarketer.com/DigitalWonderland/pages/DemoGalleryExample.html It should go on this page: dageniusmarketer.com/DigitalWonderland/ Portfolio section. This...

Ajax Highscores security

I'm creating a tower-defense game in javascript and want to have a high score and other multiplayer interactions. Probably have a couple of players start the game at the same time and tell them how fast the other guys are going and that kind of stuff. I don't know how flash games send their scores or events to make sure the information ...

Rails select_tag with ajax action

I have the following select list. <%= select_tag(:editlevel,options_from_collection_for_select(Level.all, :id, :name)) %> when the user selects an option from the above list, the list below should be populated with values from database based on the above selection. <%= select_tag(:lques,{},{ :size =>10, :style => "width:200px"}) %> i...

ScriptResource.axd requests return HTTP 302

The DNN application I develop has this familiar problem in the deployment env (Win 2003/IIS 6). From all resources I've searched only one came close to my situation. i.e this request returning 404 instead of 302 I get. Common suggestions like aspnet reinstallation, web.config settings, removing 'verify file exists' in IIS handler settin...

MaskedEdit Extender lost data on postback

I am currently developping an web site that require DateTime entry and I am using MaskEdit extender on the TextBox used to enter the date and time. These DateTime are used as input to compute the total hours and other stuff that need to be displayed back on the same page (for previewing) However, after the postback using MS AJAX, my com...

Need advice on using Grails and Ajax to append to a div like in Rails

I'm just starting out in Grails and need some advice on using Ajax. I want to append some html to the bottom of a div inside a form. This is basically what I have: -form- -div id="listOfchildren"- childrow 1 input fields childrow 2 input fields childrow 3 input fields -/div- -form- -a-Add Child 4-/a- When I click on th...

What free site(s) and resources do you use to advance your ASP.NET knowledge?

What free site(s) and resources do you use to advance your ASP.NET knowledge? Other than this one, of course. I mean, we always google for answers to daily problems with work or our personal projects, but do you have any specific "one-stop shops" to where you have advanced your skills? I guess specifically I'm looking for middle level d...

How to use jQuery Form Plugin with Rails js.erb template?

I am using the jQuery Form Plugin with my Rails app. I have a form like this: <form action="/comments" id="comment_form" method="post"> <textarea cols="60" id="comment_comment" name="comment[comment]" rows="3"></textarea> <input id="comment_submit" name="commit" type="submit" value="Add comment" /> </form> My application.js file h...

Sophisticated Pseudo-Clipboard Operations In A Browser

I would like to implement a Pseudo-Clipboard in a broswer-based application. This is the cycle. The user can select or manipulate an 'object' which is a collection of graphical artefacts displayed on a screen. When they [CTRL][C] I want to be able to persist a representation of those artefacts to some persistent store such that when t...

ASP.Net AJAX multiple pageLoad functions possible?

I have an ASP.Net control that injects a javascript pageLoad function. I also have a pageLoad function directly on the page. I can't seem to get them both to fire. Are you limited to only a single function with the same name in javascript? ...

Selecting style tag of remote page?

I'm trying to load the inline style content of a remote xhtml page. I used load previously, but that doesn't work because it loads the css inside the body tag. Therefore, I'm trying to append the style to the head tag of my page. The problem is that I cannot select the style tag using jQuery. Here's my code: jQuery.get(cont...

Django + GWT or Jquery...

I have made a complex models structure in django. I had planned to render this structure using GWT, but with python the option to communicate whit it are: - using JSON and in this case I have to duplicate the models structure in javascript objects (see gwt tutorial). - python-gwt-rpc is a remote procedure call library compatible with g...

How to chain AJAX calls in Rails? A series of calls to be executed, depending on the result of the first call.

I've a AJAX call, that pulls some initial data. Based on this data, I want to fire a series of AJAX calls, updating different parts of the page. It can be done using JS, with the XMLHttpRequest and onreadystatechange, checking for the status. If the first call is done and the response is 200, I can just fire a series of AJAX calls. H...

link_to_remote not updating div

I'm using link_to_remote to update a div asynchronously, but it does not work. I have to refresh the page in order to see the change. I use this to generate the links. http://ruby.pastebin.com/m1d83be81 "padding-left:30px", :display => "table-row" ) do %> { :success => 'entry_' + entry.id.to_s}, :url =>{ :controller =>...

jquery ajax and html

Does anybody know how to execute javascript functions in an html that is loaded via ajax? I mean the html contains both plain text and javascript. In my case it seems that only the in-line javascript (eg. onclick="dosomething();return false") gets executed. The pre-defined functions which are wrapped by < script language = "javascr...

Ajax Open, Close Effect

Can someone tell me how to do an animation like this: http://dageniusmarketer.com/DigitalWonderland/Animation inside my current site, which is dageniusmarketer.com/DigitalWonderland/ I would like for the window where you see all the text content, to open and close as you go thru the navigation links to open up a new page (close the o...