ajax

Crawlable AJAX - return Pdf as static and crwlable page

Hello I am implementing a non-flash, html and javascript only epaper, that is based on a Pdf: www.patrickmueller.li/epaper . I am telling the google crawler that this is an AJAX page that is crawlable with according to the google specs "Making AJAX Applications Crawlable" (code.google.com/intl/sv-SE/web/ajaxcrawling/docs/getting-starte...

Syntax Error using dynamic linq with MVC 2.0's Ajax.BeginForm

Hey Guys, I got some problem with dynamic linq (link) and Ajax.BeginForm. Serverside I got the following Controller Action: [HttpPost] public ActionResult Ajax(String filter) { var count = (from e in context.Elements where(filter) select e).Count(); return Json(new { ElementCount = count }); } ...

DotNetNuke Skins dnn:Styles Condition and AJAX Problem

Hey there, We have a set of Skins which implements a condition for IE6 and is only supposed to load the IE6fixes.css file if it's IE6 making the request. Oddly though, when we use AJAX to update parts of the page we find a div which uses the class generalContentFormat to suddenly start using the IE6 fixes CSS. So on the initial call ...

Call PHP function from jQuery?

I have a PHP function on my site which takes a couple of seconds to complete. This holds the whole page up which I don't want. Would it be possible with jquery to call this PHP function after the page has loaded and display the results in a div? Also to display an ajax loader image until the PHP function has completed? I've been lookin...

design of pdf generation

hello, i have an asp.net site and from one of the web pages i need to generate a pdf document that contains the output of a set of web pages that the user selects. i call it "batch pdf". basically, the user is asked to choose which web pages she needs to put into the pdf and then clicks a button which creates a pdf with all the selected...

Save Images into Sql Server Database Table using asp.net 4.0 ajax

Hi, I have a form where users are able to upload images to the website. The images are stored, binary, in the table. I use ajax and jquery on the site and it is never reloaded so when a users enter the data and push submit the page is not reloaded instead I use ajax to upload the the data to the server. When i just passthrough text it...

JSF 2.0 Input field rendered by Ajax cannot be used to input values?

<h:form> Do you have a driving license? <h:selectOneMenu value="#{requestScope.license}"> <f:selectItem itemLabel="Select..." itemValue=""/> <f:selectItem itemLabel="Yes" itemValue="Y"/> <f:selectItem itemLabel="No" itemValue="N"/> <f:ajax render="@form"/> </h:selectOneMenu> <br/> Enter...

How do I perform complex, server-side form validation with JQuery/Ajax (and Rails)?

I'm building a Q&A app on Rails with a lot of complex validations (e.g. a user can't vote on his/her own questions, or vote on the same question twice, etc). I've been using Ajax+JQuery to update things on the page if the request goes through, but want to flash helpful error messages if there are problems. While I have no problem with cl...

Use jquery to pull in the 'next' content

I'm trying to add a 'next' button to my content rotation. The content for each slide are on subpages. It works to click on each slides actual nav link, but the 'next' link won't pull in the content I need. HTML <ul class="navtop"> <li class="selected"><a href="slide-01.html">1</a></li> <li><a href="slide-02.html">2</a></li> ...

How to effectively change local changes made to an html document via javascript back to the server ?

So let's say you display a list of divs that each represent a list item with certain properties (for an example a todo list): <div class="list"> <div class="items" id="item1"> <div class="itemtitle">Some title</div> <div class="icon"><img src="1.jpg"></div> <div class="footer1" /> </div> . . ....

Visualisation libraries - AJAX, Flex, Flash, HTML, C/C++

Okay guys - simple question. I have some data in a MySQL database that I want to visualise. Now some methods for doing this are: Axiis GetPivot ManyEyes Are there any others? Max. ...

jquery Uncaught SyntaxError: Unexpected token :

my post looks like this: $.post('/ajaxvalidate/1', {"nid": nid}, function(data) { I get the Uncaught SyntaxError: Unexpected token : error in google chrome. I understand that I need to set a content type or something, from this question: http://stackoverflow.com/questions/3143698/uncaught-syntaxerror-unexpected-token I don't underst...

Tips for speeding up ajax

Hi im working on an ajax shopping cart using php and javascript with the jQuery library. Does anyone have any tips in speeding up the ajax requests. Also, are there any best practices with regards to locking the shopping basket or options to add more items with the request is taking place? ...

most appropriate decision for dynamic web content

Hello all, First of all, I'm sorry because of this lame question. But I'm kind of lost in all dynamic-html, ajax, etc stuff. So i decided get help from the pros. Basically what I'm trying to do is creating a web page which have dynamic content(messages) coming from a web server(asp.net or php) presented in floating(movable by viewer) box...

if an ajax request brings in a chunk of javascript code, should I expect it to be executable?

if an ajax request brings in a chunk of javascrpt code, should I expect it to execute? for example, if an ajax request brings in a another ajax request and deposits it in the page, how can i make it functional? $("select#select_host").change(function(){ $.ajax({ url: '<?php echo $sn; ?>/admini/list/is_active/'+$(this).val(), ...

Can I clear a specific URL in the browser's cache (using POST, or otherwise)?

The Problem There's an item (foo.js) that rarely changes. I'd like this item to be stored in the browser's cache (using Expires header). However, when it does change, I'd like the browser to update to the newest version. The Attempt Foo.js is returned with a far future Expires header. It's cached on the browser and requires no round...

C#.NET Webservices using HTTPGET Returns System.IndexOutOfRangeException

I've setup this example web service to investigate the source of my error: namespace userControlPanel.webservice { /// <summary> /// Summary description for WebService1 /// </summary> [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.Compone...

Update content of one window on event in other window with ExtJS

Some time ago I started learning of ExtJS library and now I would like to create following: There is a browser window and it is separated verticaly. On the left there is a TreePanel with directories and subdirectories (only 2 level deep). On the right side there will be an output for content of the selected subdirectory. I have done th...

Connection Reset after concurrent AJAX and Standard form POST

Scenario: Own rolled jQuery Ajax post to validate an input field on unfocus Standard submit button for post on form If I cause validation to fire and wait until I see it complete in firebug then click save all is fine. If however I leave a change in a field and then click the submit button directly (so both ajax and standard post ha...

Django chat App..

How to integrate http://ajaxim.com/ to a django module Small piece of code would be helpful ...