This block of code is for client.html (it is located in this www.client.com/client.html) - client side.
The I have the code below that goes something like this:
ajaxRequest.open("GET", "http://www.server.com/ajax.php", true);
This is how I call the file ajax.php located in the server. Unfortunately I have no luck at all. It cannot c...
Hi
I'm currently working on a project involving a form generator.
The user can switch on different databases and add some information from these databases in the form he is building.
I'm working using AJAX, at anytime the user can choose the database using a select, and on change, it refreshes the list of the database's tables.
Wh...
Hello, i'm trying to get a file upload via ajax form to work.. as i am using the jquery form plugin the file upload works well.. but the rendered html in the respond_to js block is returned as plain text. hope someone can help
controller:
if @visitreport.save
flash[:notice] = "Der Besuchsbericht wurde erstellt."
respond_to...
I am using autocomplete functionality found at http://www.devbridge.com/projects/autocomplete/jquery/. In addition to the text in the autocompelete text box, i would like to pass additional information, like selected states and highways. Following is the code I have. I am getting the text value in the textbox in the MVC action, but not t...
I need to create a chat similar to facebook chat.
I am thinking to create a simple application Chat and then using ajax polling ( to send request every 2-3 seconds ).
Is this a good approach ?
...
I need to create a chat similar to facebook chat.
I am thinking to use ajax polling ( to send request every 2-3 seconds ).
Is this a good approach ? Or I need to use other server side languages like erlang and server-comet ?
...
Hi
I am using jquery ajax in my project thats working good in my firefox But it doesnt seem to work in IE6
How to make the jquery Ajax work in Ie6
This is my code
function Load_State(inp)
{
$.ajax({
type: "GET",
url: "<?=base_url()?>/system/application/views/ssitAjax.php",
data: "selCurCountry="+inp,
success: function...
My current problem regards updating context information dynamically in FormInjector, my previous question Updating a zone inside a form in Tapestry 5 probably contains useful background information.
I added the following in my template.
<div t:type="FormInjector" t:id="injector" t:context="item.id"/>
And the following in my component...
Hey Guys,
Just a quick question about JQuery's Ajax function, more specifically, the url parameter.
My directory structure is like so:
contact.html
process.php
- elements
- js
- jquery.js
- library.js
Code below
...
// Post with Ajax
$.ajax
({
type : 'POST',
url : '../../process.php',
data : fulldata,
...
This piece of javascript always returns null in firefox & chrome, but works fine in internet explorer:
$.ajax({
url: "http://mymachine/mywebservice.asmx/myfunction",
data: "{ 'q': 'hotels', 'limit': '10' }",
dataType: "json",
type: "POST",
contentType: "application/json; charset=utf-8",
dataFilter: function (da...
Hi,
I'm using the Sigma Ajax Grid...
When I click in the pdf export button, in PHP, I can access $POST['_gt_html'] with the grid content:
Array
(
[__gt_html] => <style type="text/css">
</style>
<table id="grid" class="gt-table" cellspacing="0" cellpadding="0" border="0" ><!-- gt : head start --><tr class="gt-hd-row"><td class="...
I need to create a chat like facebook chat.
With Comet I need more memory to keep the connection.
With Ajax polling there is a latency problem if I send request every 3-4 seconds.
So... If the latency ( 3-4 seconds ) doesn't matter, Is Ajax Polling better for my case ?
...
Hi,
have a problem with my ajax code.
I have some links and a content area.
When i click on a link, i hide the content area, load the new data and show the content area again. It works, but when showing the content area, you see the old content for a short time and then it flickers to the new content.
Can i somehow let the loading scre...
when loading query results into a page using jquery load() I recieve header information and funny characters on my page. What could be the cause of this? In addition to this Firefox and Chrome only show this error. IE8 is fine. When clicking around the site instead of opening pages, the download dialogue opens - which tries to download a...
Hi,
i have a template with this below to show a dialog when the link is clicked:
<div id="myDialog">
</div>
echo jq_link_to_remote('Enviar mensaje 2', array(
'url' => 'mensaje/new?receptor='.$miembro->getId().'&tipo=0&estado=0',
'update' => "$('#myDialog'...
I am using the JSONP/dynamic-script-tag technique to perform cross-domain AJAX (There's no XML, but you know what I mean).
Initially, I wrote my own solution, but I could not come up with an elegant way to remove the script after it executed. My strategy was just to pass an ID and on the callback remove the associated script, but I real...
I have been fumbling with deploying my code to a SharePoint 2007 site for hours. I have ajax in my project and ajax is enabled on the sharepoint server. I am now getting this error:
but its type (System.Web.UI.ScriptManager) is not compatible with the type of control (System.Web.UI.ScriptManager).
Can someone please help point me in t...
This ajax request checks if a TIF file exists in a certain directory and either sets a button to open the file or to display an error message if it isn't there.
$.ajax(
{
cache: false,
url: directory,
success: function() { $("#img" + row).click(function() { window.location.href = direc...
Basically, how does this work: http://www.stream-hub.com/demo/RealTimeChart/index.html
They are streaming JS through an iframe continuously and the browser window does NOT show the page as "loading". How did they do that? The streaming part is easy, but how do they prevent the browser window from being in a continuous "loading" state?
...
I tried using AJAX Control for my first time after I installed the AJAX Toolkit for ASP.NET. I created a new ASP.NET website and added the ConfirmbuttonExtender.
After I run it without changing nothing I get this error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this reque...