I have a web app with Tabs for Messages and Contacts (think gmail). Each Tab has a Y.on('click') event listener that retrieves an HTML fragment via Y.io() and renders the fragment via node.setContent().
However, the Contact Tab also requires contact.js to enable an Edit button in the fragment.
How do I defer the cost of loading contac...
I've got a small linkbox on the side of my page that is rendered as a PartialView.
In it I have a dropDownlist the should change the routing value of the links in the box but I'm having difficulty doing so.
My current plan is to call on something similar to a Ajax.ActionLink to reload the partial view into the with a different paramet...
Hi,
Using a form in a dialog box I am using Dojo in jsp to save the form in my database. After that request is completed using dojo.xhrPost() I am sending in another request to update a dropdown box that should include the added form object that was just saved, but for some reason the request to update the dropdown is executed before s...
Hi,
I have this ASP.NET page with ASP.NET UpdatePanel and jQueryUI droppable and sortable components. The page works fine in all browsers, but doesn't in Internet Explorer (IE8 tested).
After I try to call ASP.NET AJAX event (by pressing my asp.net button inside the UpdatePanel) my sortable list stops working properly inside IE browse...
Hi guys,
In the Apple docs it says that
JavaScript execution time is limited to 10 seconds for each top-level entry point.
If your script executes for more than 10 seconds, Safari on iPhone OS stops executing the script at a random place
I plan to have some Javascript run every 10 seconds or so that will do an AJAX query to the...
I'm trying to give my mobile users the choice to view the full website by loading a different page.
Thing is, jQtouch thoughtfully transforms links into ajax calls, so the user doesn't leave the page at all.
Is there some way to break out of jQt or exclude certain links from loading ajaxically?
...
I make some Ajax calls from inside a javascript object.:
myObject.prototye = {
ajax: function() {
this.foo = 1;
var req = new XMLHttpRequest();
req.open('GET', url, true);
req.onreadystatechange = function (aEvt) {
if (req.readyState == 4) {
if(req.status == 200) {
alert(this.foo); // refe...
getting following exception while making call using XMLHttp object asynchronously in mozila firefox.
can anybody help me to resolve this issue?
407 Proxy Authentication Required
The ISA Server requires authorization to fulfill the request.
Access to the Web Proxy filter is denied.
Description of cause-
actually i am trying to make as...
i have a web application that uses spring framework
and i want to use ajax in some pages (adding/deleting stuff from page,db without refreshing the whole page)
tutorials and samples are needed for such stuff
...
The idea is that I've 3 ajax links and each link is coupled to one single element (a form). The element will be loaded in one div. Each time when you click on a different link, the element that is requested before must be removed and the new one must come in there. So it has to update the DIV. The problem is, that it request the element,...
Hi,
Specifically I refer to this example:
<h:panelgroup>
<a4j:support event="onlick" action="do1"/>
<h:commandbutton id="1".../>
<h:commandbutton id="2".../>
<h:commandbutton id="3"...>
<a4j:support event="onlick" action="do2"/>
</h:commandbutton>
</h:panelgroup>
My questions -
If I click one of the buttons in the pa...
I am trying to build a Google Chrome extension that makes an ajax request. Something similar to the GMail Checker extension. The problem is that when I do the request using jquery, and I put in the wrong username/password, it fails silently, with the error callback function ignored.
If I move the ajax call out of the background.html scr...
Hello All,
I have a wired problem. When I set display_errors to 0 on production enviroment then AJAX request to some PHP script returns apache server error 500 and nothing works. When I set it to 1 then response is 200 and everything seems to be fine.
Question is what is the connection between display_errors and server error number. I ...
I'm currently using jquery ajax to call a pagemethod (which works great);
$.ajax({
type: "POST",
url: "ArticleList.aspx/GetArticleTags",
data: "{'articleId' : " + articleId + "}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (msg) {
...
I'm wondering if anyone knows of a script/plugin, jquery-based or otherwise, which could be used to achive the effect that can be found on CNN.com.
I'm talking about the videos that are representet by a small thumbnail, that when clicked expands in to the text and plays.
I'm by no means a JS-guru, and me and flash isn't the bestest of ...
I am a new to WCF. I have written ajax to use a web service before, but on this project I am trying to use ajax to WCF.
After I build the project and wcf using ajax, I receive the return successfully. But, 10 or more minutes later I don't get a return, the ajax calls the error function, and the fiddler returns nothing.
If I rebuild t...
I'm writing a simple ajax function and looking to populate two text input fields with the 'success' results. I'm wondering what my php syntax has to be to return an object.
Here is my Javascript function
function editModule(a){
data = {moduleNum:a}
$.ajax({
type: 'POST',
data: data,
url: 'includes/ajaxC...
Is there a way to set up the calendar extender so that the calendar displays when the text box recieves focus AND when the when the element with the "PopupButtonID" is clicked? With my current settings it seems to be one or the other.
...
I have a seperate .js file and namespace for json requests.
I have another .js file and namespace for the actual logic.
I can't seem to get the result back in my logic layer.
var jsonResult = Blah.Data.LoadAggregates();
alert(jsonResult);
alert(jsonResult.d.length);
alert(jsonResult.length);
all of the above calls are returning unde...
hi,
i'm changing an existing email signup form to use the feedburner signup (opens in a popup), but want to keep the existing one in place aswell. i was hoping this would work, but it display a blank page. the existing signup script returns complete page containing yet another form.
$(document).ready(function() {
$('#subscribe_fo...