okay .. nooob alert.. sorry
I have a form and Im trying to perform ajax posts.
With the default submit button the dialog window closes, with the jquery button, nothing happens.
I want the dialog window to stay open so I can keep doing ajax requests uninterrupted and only close when I press esc or click the big "X".
Thanks
<div id="...
My html page sends an ajax request (POST) to PHP, PHP echo a json object.
Code has been tested and worked fine at my development view.
However, after they are uploaded to a VPS hosting server, the returned json string is empty (I used alert() at the response function to display the responseText and found out it was empty).
Could som...
Hello i need to highlight a div after my page is loading, i don't know if i should use a partial or something like that, the partial also has to have 2 variables disponible.
Code to highlight after loading by 5 seconds:
<div id="total_de_venta">
<% if @instalador.a_destajo? %>
<div align="right"><b>Total de la venta: $<%= @venta.precio...
My AJAX code is passing QueryString to a PHP file. The QueryString looks like this:
var strUrl = "./lib/filldropdown.php?DivName = " + DivName + "&DropDownControlName = " + DropDownName + "&SqlQuery = " + SqlQuery;
In the file "filldropdown.php", I want to fetch the values from the query string. How to do this without using GET? And a...
Hi all,
I am planning to use Ext JS for a large application. The application's features are role based. When user login, they only see menu and screen features related to them. My server side technology will be Java & JSP.
To solve this I have two ideas..
1. Create Ext JS related javascript dynamically after the user login using s...
Hi all, I get this error on a .click() event in jQuery. I see it in Firebug. I use the latest version, 1.3.2 (min)
The click fires an $.ajax() request for a Form in my website. I asked google about this and all he knows is "%" or "[@]" as unrecognized expressions, nothing about the "#".
here is a bit of my code:
$("form#buyForm #su...
Hello,
I've got two functions and one problem.
hideTable();
ajaxCall(params);
The function hideTable
function hideTable() {
if (effects) {
$('#jquerytable tbody').fadeOut(speed);
}
}
I want the ajaxCall function to be executed after the hideTable function (which takes a little time). The showTable function should be e...
Hi
I'm new on AJAX. Just for fun I'm trying to control my sever via an AJAX interface.
It's quite easy, for instance in PHP, to send a command to the server by the system() function and just a text field and a submit button.
The thing I'd like to do is to control in realtime some action, for example controlling music volume by a web in...
Hi,
In my web app, I am using jQuery to select all the links on the page and intercept where they go to so that I can switch to a different part of the page with AJAX. The problem is that some of these links are in InfoWindows (if that's what they're called) on a Google Map. For some reason the jQuery selector $('a') isn't selecting them...
I'm trying to use g.render in a grails service, but it appears that g is not provided to services by default. Is there a way to get the templating engine to render a view in the service? I may be going about this the wrong way. What I'm looking to to is render the view from a partial template to a string, and send the resulting string...
Hello --
I am trying to do some basic geocoding using the google maps API and a GWT dyanmic web project in Eclipse. For example, query the following URL:
http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&output=json&sensor=false
and get back the data for parsing. I am running into some confusi...
I want to populate a DropDown control on page load using AJAX. I have the code and it is working, but I am not following as to which event to use.
...
Hi All
Is it possible to upload file in facebook fbml (not iframe) using Ajax ? not a complicated one but just use simple input type="file" tag wrap in a form and post the from using facebook builtin ajax. If can, then how to accept it in server ? I'm using rails facebooker as my backend and paperclip plugin as my file upload system.
T...
I am creating a composite control, that implements IScriptControl.
in CreateChildControls() function i have this:
HtmlGenericControl ul = new HtmlGenericControl("ul");
HtmlGenericControl b2 = new HtmlGenericControl("li");
b2.Style["background-image"] = string.Format("url({0})", imageSrc);
b2.Style["list-style"] = "none";
b...
I am building a website that has a system where users can send messages to each other. I would like it so that when a logged in user received a message, he would get some update on his screen telling him that.
These messages do not have to be in realtime, so I do not think I want to push with comet or juggernaut or anything like that. ...
Hey SO,
I just started using CodeIgniter after using Zend for a while. My new site has a feature where you register through Ajax. In Zend I could use this to check if the incoming POST was through AJAX, and therefore from my site:
if(!$this->getRequest()->isXMLHttpRequest())
Is there a piece of code in CodeIgniter that does the sam...
I am trying to setup an ASPX page to call a WCF servcie thorugh a ScriptManager. For some reason when I call the "SpinStitch.Services.Chat.IChatter.CreateChatSession" method of the servcie I get this error "The server method 'CreateChatSession' failed.' I had a breakpoint set on the CreateChatSession method in the server, but it never g...
I'm using jQuery in our Java project and 3 AJAX requests to refresh 3 columns. The problem is if you click something before the response received that sometimes one of the JSPs meant to return response in a particular DIV, overwrites the entire page and has beeing returned as a new page. I use AJAX Queue plugin which should cancel the re...
Hello all,
I make 7 get requests at the same time to one PHP script - two of the requests are successful and the other requests I get an output of Max Execution of 60 seconds exceeded!
The thing is I have put this at the top of my script:
set_time_limit(300000);
I have also set this in my PHP.ini file and have restarted apache sever...
Guys,
I have to create a listview which contains thumbnails of few items, and when we click on the more button it should display rest of the items in the same listview,. how do i achive this, i dont want to do a postback and i would like to do this with ASP.Net Listview and AJAX Update Panel,
i went through the web and seems ppl are f...