Should AJAX calls that are not RESTful be:
put in the controller that most suits their functionality/view, or
bundled together into their own separate 'Ajax' controller?
I've been doing 1, but I've just read this (2725 diggs) article
http://zygote.egg-co.com/10-dirty-little-web-development-tricks/ (see point 9)
and this chap opts f...
I have a bunch of checkboxes that are created dynamically on page load and written like so:
<input type='checkbox' name='quicklinkscb' id='quicklinkscb_XX'/>
where XX represents the id of the item from the database.
I want to be able to parse the page via javascript for all checkboxes and:
find their id and strip the 'quicklinksscb_...
Hello, I'm trying to use Ajax with JQuery, what I want to do is just send multiline textbox value to php with Ajax.
I'm using that code, it sends txtAnswer value to php, unfortunately, it removes new lines (\n) from data. How can I solve this problem... Thanks in advance..
$.post(
'post-answer.php',
{answer: $("#txtAnswer").val(),...
Hello everyone,
Here is my javascript code which ping Google for every 10 seconds and display the connection status to html MonitorInformation element. But when I click the html file to debug, the information displayed at MonitorInformation element is always "Connecting...wait". I have debugged for some time but can not figure out. Any ...
Hi,
I have a message board, and I have some code that loads new messages automatically as they arrive.
I have, addtionally, the following code run on all board posts.
$(".old_post").hover(function(){
$(".post_right_nav", this).show();
$(this).css({
'background-color': '#E6E6E6'
});
...
I use jquery for ajax tabs, not jquery UI that is to large for my needs
This code below is my ajax tabs, it loads the selected tab with an external file
I also have a for that uses ajax to post data to this page HOMEfriendstatus.inc.php which is #tab2
What I want to know when I submit the form, regardless of what tab the user has loade...
Can someone tell me a good example to open Ajax modal popup extender when clicking on image hotspot?
Currently I am receiving null exception(parameter name handler) when giving ID of imagemap as a targetcontrolid in extender.
...
Hi
I have two update panels, the first update panel (up1) contains a repeater control which simply repeats a button control. When one of the buttons is clicked in up1, i simply want to update the second update panel (up2) using a paramater passed from the button in up1.
Basically, each button has a conversation ID, so when clicked up2 w...
I have the code below that will change a state dropdown list when you change the country list.
How can I make it change the state list ONLY when country ID number 2234 and 224 are selected?
If another country is selected is should change into this text input box
<input type="text" name="othstate" value="" class="textBox">
The fo...
I'm trying to set up an Ajax callback using jQuery, and it's just not working. My Ruby code looks something like this:
return {:one => some_html, :two => more_html}.to_json
When it gets to the client jQuery bails saying "parse error". If I make it something really simple, like:
return {:one => 'Something', :two => 'Something else'}.t...
I was browsing through one site called BSEINDIA.com (http://www.bseindia.com/stockreach/stockreach.htm?scripcd=532667), i Noticed that on click of Get Quote it seems to fire an Ajax request and get the price of selected equities. I tried to segregate this request and fire it separately, but it doesn't seem to work.
I copied over the cod...
Hi,
I am trying to create a facebook application, all is working fine except the ajax part that I am using to populate a second box from the item selected in first select box.
I am using jquery (v1.3.2) for accomplishing this. This ajax is working absolutely fine on the host where I have taken space for it, but it is not working in fac...
Hi all!
I am trying to have a flash-based music player on my page which continues playing a song even when you refresh or go to another page within the web site.
I whant do this like facebook footer
i read this topic
http://stackoverflow.com/questions/668431/how-does-facebook-keep-the-header-and-footer-fixed-while-loading-a-differe...
Hi,
I have searched hi and low for a solution for this, basicly I would like a panel with a plus sign next to it and when the user clicks the plus the blank version of form 1 is replicated in a new panel that gets revealed after clicking the + sign:
______________________________
| Form 1 |
| |
| ...
I have two updatepanel and a progressbar on the page. If I set the AssociatedUpdatePanelID, then progressbar is not working, without setting AssociatedUpdatePanelID progress bar is working but the problem is working for both updatepanel. But I need to work on one updatepanel.
<asp:Button ID="Button1" runat="server" Text="Button1" OnCli...
I'm looking for an AJAXian widget that shows the time between client browser and server. Any ideas?
...
I want to use the AutoCompleteExtender control but i want to use it with a drop down list or radio buttons that let me select the search type. i.e. search by name or search by ID. Now the search bar is on the master page while the content is on a 'contained page' (i'm not sure of the correct terminology). Currently (i'm modifying existin...
How do we hide Ajax Control Tool Kits Bottom Tool bar where it has Design mode HTML mode and preview Buttons.?
...
I'm trying to automatically "ajaxify" (i.e. having the control only update itself on postback) the WebParts on a aspx-page. The WebPartZone which the WebParts are in is dynamically created in the codebehind and it then loads its WebParts based on a personalization-database (all that is handled by EPiServer's class ZoneLowUiImpact, which ...
I'm writing my first bit of jQuery and I'm having a problem with jQuery.get(). I'm calling this;
$.get(url, updateList);
where updateList is defined like so;
function updateList(data)
{
if (data)
{
$('#contentlist').html(data);
}
else
{
$('#contentlist').html('<li><a href="#" id="synclink">Nothi...