Hi friends,
I am having a prob for ajax request in joomla using mootools.
var url = '<?php echo JURI::base();?>index.php?option=com_test&task=getselectmode&selectedid='+$('parent_question').value;
var params ={method: 'post',update:'test'};
var myAjax = new Ajax(url, params);
myAjax.request();
My prob is that, is there any to...
Hello guys,
I have a problem using Form Authentication.
When using IE everything is working fine using Form Authentication. But with firefox and chrome the value for User.Identity.Name and IsAuthenticated is always empty. The scenario is like this I have an ajax call to the controller ($.ajax.....) and in my controller I have their a f...
I have an ASP.NET webpage with several updatepanels. I have a row of buttons (inside an updatepanel) which are connected to another updatepanel by async triggers.
Further down the page, outside any updatepanels, I have a filefield control with a few validators associated. The filefield works well, but when I call one of the buttons insi...
Hi there
I'm trying to access a 3rd party api over http using jquery .ajax (or .get, .post etc). The api resides on my machine at
http://localhost:7777/server/<method>?<args>
The server has a stack of methods to query its OLAP server such as login (which returns a login key to use with other methods), databases (that lis...
I'm making a simple ajax login system using cookies to remember username or login automatically on the next visit. Everything works ok, the cookies are set 10 days to the future, I can see them when I go and see Firefox's cookies but they are deleted when I restart the browser.
The cookies are set with setcookie() from a php script calle...
I have a div with a partial inside somewhere on the page. I have a event on a button. How could i write a Javascript that takes the div and reloads it and also reloads the partial view.
I have this in another view. But i can't do it like this now. But i need the same thing to happen only execute by a jquery not directly in the page. C...
I am pulling data from a database with Ajax and dynamically populating a div tag with image elements. The image file name corresponds to the data in the database.
For instance if there was something in the database called 'foo', I have an item called 'img/foo.jpg'
My javascript pulls the data and creates a an image with the src if 'img...
I have the following drop down list which is using the Ajax Toolkit to provide a combo box
<cc1:ComboBox ID="txtDrug" runat="server" style="font-size:8pt; width:267px;"
Font-Size="8pt" DropDownStyle="DropDownList"
AutoCompleteMode="Suggest...
I am building an AJAX web app with GWT, and I want to use right-click for various things, just like in a desktop app. However, right-click produces the standard Web context menu and void onClick(ClickEvent event) never gets called. Has anyone figured out how to get this to work? thanks!
...
I have a jQuery dialog box that opens and then an AJAX call is made. I would like to make it so that if the dialog box is closed or the cancel button is pressed the AJAX call is canceled and its callback function is not called. I can think of some ways to do it with a variable like so:
function doStuff(){
var doCallback = true;
...
Hello,
Is Asp.Net Ajax only used at presentation ( UI ) layer, or also at Business Logic layer?
EDIT - to be more precise, is AJAX API also used at BLL layer?
thanx
...
The core question is about the use of the HTTP Headers, including Range, If-Range, Accept-Ranges and a user defined range specifier.
Here is a manufactured example to help illustrate my question. Assume I have a Web 2.0 style application that displays some sort of human readable documents. These documents are editorially broken up int...
A) Since Ajax is based on Javascript and Xml …should I learn Xml and Javascript before trying to learn Ajax?
B) Even if knowing Javascript and Xml is not a must … will I be able to understand and use Ajax more efficiently if I know Javascript and Xml?
...
Hello Friends,
I am writing one simple web page with bunch of textboxes and a button control. Now when user finished editing the values on this text boxes user has to click the button and this button invoke heavily process intensive algorithm on server side code based on the data received from client (Textboxes)
And it could some time ...
I have a website with two pages. A and B. When you click on a link in page A, it will uses the Prototype Ajax.Updater() to load the link page (page B) into a div on the page (Page A).
When page B loads into page A, the sIFR replacements are not working and the tag inner text is not even showing.
I have tried doing a sIFR.redraw() when ...
I have a form which, for the sake of isolating the problem, has about a dozen plain HTML checkboxes (not WebControls), all of which are disabled. They are inside an UpdatePanel.
I have a link which calls
__doPostBack('a-control','my-custom-argument');
Depending on the first argument I supply, the page may do a full postback or a...
I wrote a script that polls Twitter via Prototype's AJAX methods, grabs JSON results, evals them and then updates a div with the formatted tweets. Everything worked fine in testing (Safari 4.0.3 on a OS 10.6.1 machine) until I loaded the script onto a server and it failed. The script had all client side items and referred to the same Pro...
Hello,
I've been looking for a simpler way than Comet or Long-Polling to push some very basic ajax updates to the browser.
In my research, I've seen that people do in fact use Javascript timers to send Ajax calls at set intervals. Is this a bad approach? It almost seems too easy. Also consider that the updates I'll be sending are ...
var location = { "location" : {
"name" : $("#user_loc_name").val(),
"street_address" : $("#user_loc_street_address").val(),
"city" : $("#user_loc_city").val(),
"province" : $("#user_loc_province").val(),
"country" : $("#user_loc_country").val(),
"postal_code" : $("user_loc_postal_code").val(),
"publ...
I read through a few threads (simple web framework, java web development, etc). Very informative. However I have not seen a focus on the AJAX side of things. For the app I am trying to create, most of the client side will be written in Google GWT, and JSON will be used to communicate with the server side. In that case, all templating is ...