i got an ajax web app that returns http response to a div.How do i return a javascript via ajax to my div?
827011
do you want to return a value from a javascript after an ajax call?\n\ndo you want to extract a script from the resultant html, and execute it?\n\nboth are possible and are easily a single line of code ... using jquery..\n\nwhat exactly are you trying?
62389
AJAX uses a bit of javascript that uses the XmlHTTP object.  This object, opens up a connection to a Web server, transmits and receives data, then calls back the javascript on the page which was used to invoke it.\n\nWhat this means is that changes on the client side can communicate with the server, then dynamically update the client user interface without having to request a new Web page from the server.\n\nWhile this slightly complicates developing Web applications that use AJAX technologies (which, by the way, is just a name given to the various technologies employed to use this methodology), it makes for a very smooth user experience since they are not constantly refreshing Web pages.\n\nAJAX applications give an appearance of a 'thick client' application while still being a 'thin client' (i.e. application that runs in a Web browser.)  However, it is important to note that network communication is still going on in the background while the application is being used.
260578
The code is broken for the page to load correctly. A method which is how the get statement is executed.\n\nTry using anohter browser or call the webmaster for the site
876650
java or javascript may be turned off in internet options?\n\nthat's all i got
864984
You could use an XmlHttp object to get the HTML for the page:\n\nDim objXMLHTTP, PageHTML\n\nSet objXMLHTTP = CreateObject( "Microsoft.XMLHTTP" )\n\nobjXMLHTTP.Open "GET", "www.thepage.com", False\n\nobjXMLHTTP.Send\n\nPageHTML = objXMLHTTP.StatusText
1167520
Ajax is very powerful stuff - but its really useful in populating forms and interface elements in a web page without refreshing or reloading. I second the first poster's suggestion that you really ought to consider Flash for such a thing, since just about everyone has Flash anyway.... its graphics model would be less flaky than a web browser, and you wouldn't have to worry about the behaviour of different browsers.
263212
PHP scripts are not processed by the browser - only HTML, XML and Javascript.\n\nPHP is processed by the server, which then generates an HTML page which is output to a browser.\n\nIf you want to see the hidden stuff that your browser sees that you don't (cookies, http requests), \n\n<?\n\nvar_dump($_POST);\nvar_dump($_GET);\nvar_dump($_COOKIES);\n\nor var_dump($_REQUEST);\n\n?>
295264
Use a combination of things: AJAX, CSS stylesheets, DHTML, Javascript, and XHTML.\n\nUse "div" XHTML elements to contain the parts you want to be able to move around as a chunk of content.  I think you need to mark them as "float" too.\n\nMake sure they have drag event handlers on them too, so it is possible to see where they are moving.\n\nThese days, a lot of programmers/developers use Javascript libraries to handle the Javascript programming for them. Some very good ones are free.\n\nYou might need some software on another computer, to keep track of what is giong on and store the user's layout - not to mention provide the content for it. People are starting to use Ruby On Rails framework for this.  It is written in the Ruby programming language.\n\nIf you don't already know XHTML or HTML, stop by the W3 web site to get acquainted with it first.  Then you can look into the Javascript resources you will need for your front end.  Last of all, figure out how to manage the content and layouts.
121966
You can't.\nJavascript is executed when the page has been downloaded\nby your browser.
826596
I had this ages ago .Its a java script .\nTry the link below or  Google,,,,, Falling snow java-script ,,,,,.\n\nI'm pointing you there cus I'm a kind person.\nYou have to copy the Java script ,then follow the instructions and past it into your webpage.Its not to easy with most scripts,As they require js files and a through knowledge of HTML coding procedures\nI have just checked this java script and it is NOT correct ,However i have managed to Filter the correct script out of the web page and its works fine .\n If you mail me i will send you the full script with details .\nYou can even send a page and i will get it going if you want to.
587552
Send the response as a file?\n\nSee\nhttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse3.0/html/4344d43e-ceb4-43a9-8f8c-6a3f89f786bd.asp
834972
You need some server side technology like ASP, ColdFusion, PHP, JSP, ...etc. in order to do what you want to do. Just HTML cannot do what you want to do.\n\nI am a web developer by trade. If you have further questions, please feel free to contact me.
60781
First of all, is it a browser based or a windows program? There are many different ways to do it with many different languages. \n\nIf it's browser based, you can create such program using JavaScript or any other Server-side scripting program. \n\nGive us more detail and we will let you know which language you can use.\n\nAdded on 01/20:\nOk, it might be a little late to answer this question, but you can do it by using JavaScript. If you don't know JS, then you can't do it in one night from scratch. \n\nGo buy a book and learn JS. Maybe it will help you next time. \n\nPS: Did you win?
958626
A simple google search turns up many options.  See below for one simple one.\n\nI saw another one using ajax recently if you wanted more complexity.
1063360
http://www.clearnova.com/ajax/   is pretty good with examples.  If you do a search for Ajax programming on google your bound to find more.
467686
AJAX stands for Asynchronous JavaScript and XML. It is scripting technique for silently interchanging and manipulating data asynchronously with the web server . AJAX scripts commonly use the soon to be standardized XMLHttpRequest object. It makes a web application a highly interactive one - it feels like a client server application - if AJAX is applied properly. \n\nThis link could be a good starting point for you - http://en.wikipedia.org/wiki/Ajax_%28programming%29
87907
The previous answer is correct.  The Javascript prompt just gets the value into the CLIENT side - it does not invoke the SERVER side, where the aspx runs.  Somehow, after you do this, you have to send the request to the server.\n\nLogically, in you application, is there a form the user is filling in?  If so, pass the value in the form as a hidden field or on the query string.\n\nOr, are you wanting to end the current page right after the prompt, and go directly to the page the aspx builds?  If so, immediately after your prompt, do a\nlocation.replace="http://...nameofpage?valueInAspx="+variablevalue\nand pick in up in the request collection.