Hi,
I have one asp.net Ajax Login using webservices. In this login i call the loogout() client side from hyperlink:
Sys.Services.AuthenticationService.logout(null,onLogoutCompleted,null,null);
return false;
My Webservice make :
[WebMethod]
public void Logout()
{
FormsAuthentication.SignOut();
}
logout work but my page make one...
Hi folks,
something strange happens, when I try to update a table cell value with the returned data from an ajax call.
Considering a Table like this
<table>
<tr>
<th>header1</th>
<th>Error Count</th>
</tr>
<tr>
<td>useless data</td>
<td><span id="cellToUpdate">244</span></td>
</tr>
</table>
Within an JQuery A...
Here is my code:
Event.observe(window, 'load', function() {
Event.observe('form_post', 'submit', function(){
new Ajax.Updater('Posts', 'getPosts.php', {
});
});
});
I just want to delay the call to Updater, any ideas??
Thanks
...
I have an asp button. It's server-side so I can only show it for logged in users, but i want it to run a javascript function and it seems when it's runat="server" it always calls the postback event.
I also have a regular button (<input...>) not running at server and it works fine...
How can I make this button only run the javascript a...
I'm using jquery's load() to get some content into a div, and I want to run an other function in the "background" until load() finishes. That function should update a custom throbber every 1 second until $("#id").html() == "" where $("#id").html() is set to "" after load() finishes. Is there any way I can do that?
...
I'm learning jquery and wrote this so I can do two seperate $.GET to a php file, retrieve some info and do some calculations on it. I understand I could create one specific php file that does everything and returns the value I need, but I thought it would make more sense to reuse this php file any time I need to retrieve info.
I have...
I cannot figure out why this Ajax request is not firing correctly. For simplicity's sake I've been trying to implement Ajax request using this tutorial. However I cannot get my controller to recognize the request as being so. I've tried placing the Ajax.ActionLink within the div to be updated (outside of it here).
Using the Response...
How do I make an autocomplete text field like the one here at Stack Overflow for the Tags fields? I want to use it for my Rails app.
...
Hi,
I keep getting this error on asp.net page button click...how do i resolve this?
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters...
We have developed a RESTful webservice using the restlet framework. The service is called by ajax requests using Prototype and/or Scriptaculous (I'm not familiar with those libraries, so excuse if any of these mentioned are not accurate).
Everything seems to work for most of the popular browsers, i.e. Opera, Firefox, Safari all work fin...
Hi,
What i'm exactly trying to do is make my script.aculo.us Autocompleter work for my form when it is loaded inside a Modalbox object.
Of course, i've tried my Autocompleter when loading the form as standalone and it works just as expected. For reference, here is my JS code loading the feature:
Event.observe(window, 'load', function...
I have an ASP.NET MVC Partial View that contains a Html.TextBox that is configured to use the datepicker from JQueryUI. This is done by ensuring the style is set to .datepicker. This all worked fine. However I have changed my forms to Ajax.BeginForm and included a Ajax.ActionLink that displays it after clicking on the link. Since addi...
Hi,
When i click on a Ajax.ActionLink, which displays a partial view, why does none of the javascritp associated with the partial view fire? This previously all worked before when I used Html.ActionLink. I have a series of scripts referenced in master page, which include $document.Ready functions. I have also tried added the script i...
This is a snippet from my index.php page, where I'm displaying a menu with three HTML links.
Selecting a menu item defines the page parameter, which the PHP templating logic then loads, populating into <div id="main">.
<div class="span-24" id="menu">
<table>
<tr>
<td><a href="index.php?page=races">Races</a></td>
<td>...
I have a div that is receiving content from an ajax call. Right now I am just doing this in the ajax callback handler:
function searchCallback(html) { $("#divSearchResults").html(html); }
This makes the content "pop" onto the page, and it's very abrupt. Is there a way to make the div gracefully resize, like the .slideToggle() method d...
Hello
I am trying to create a link to destroy and entry in the DB using AJAX but I also want it to function without JavaScript enabled
However the following code
<%=link_to_remote "Delete", :update => "section_phone", :url => {:controller => "phone_numbers", :action => "destroy", :id => phone_number_display.id }, :href => url_for(:con...
Does anyone know of a good .Net2.0+ compatible dual listbox control that either offers dragging and dropping between lists, or simple buttons to move items between lists and also sort the items in a particulr list. This is for a web based app and I would prefer some nice javascript to make this one speedy.
...
I'm using jQuery Countdown plugin to implement a Countdown and call a webservice when timer expires.
The problem is that I'm using AJAX on the page, and have to re-setup the Countdown on every AJAX request like so:
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(SetupTimer);
/*Initial setup*/
$(document).r...
In a simple web page I load some new HTML into a div using load(url)
Works fine in most browsers but, surprise, surprise, IE7 behaves differently.
All the other browsers apply the pages CSS styles to the newly loaded HTML but IE7 doesn't.
Any ideas?
Ken
Update
The new HTML is just a code fragment, e.g.
<div class="classname">
blah ...
I just discovered a rather peculiar issue in IE8 for a HTTPS link. Every time the page tries to access the HTTPS link, it produces an error. This happens only in IE8 and nothing else. Any idea what's going on? I found some items that said that means the files were not loaded, hence the issue and tried some fixes recommended, but they ...