I have two different methods that I want to execute when a user clicks a button. I have them working separately, but when I try to combine the two I get errors. The two ones I have currently are
<%= image_tag('go_button.png',
:id => "search_go_button",
:class => "search_go_button",
...
Dear All
I am using JQuery & javascript PHP, My Ajax.php just displays the
data ,test.php has assigns the value to javascript function.
My Problem is I not able to get the values that assigned by test.php, from getList(data).
is Any wrong in my logic ?.What to do to get the values assigned by test.php will be displayed ...
I've created a custom object that I'd like to return in JSON to a javascript method. This object was created as a class in C#.
What's the best way to return this object from a PageMethod ([WebMethod] if you like) to a javascript onPageMethodCallback() function? I need to be able to access the properties of this object via javascript...
Dear All
I am using Json in php, Now I need to access it from javascript,
How to pass json object ,to javascript?
<?php
$array = array("a"=>"Caucho", "b"=>"Resin", "c"=>"Quercus");
$json = json_encode($array);
>
Where My.js has
showAll(){
alert("Show All Json Objects");
...
I had user control in MVC asp.net which list the comments for particular image. I had given delete link with every comment. Now i want to delete that comment using ajax link. Please tell me how can i use ajax
This is my user controll and i am calling controller action on delete link
<%@ Control Language="C#" AutoEventWireup="true" CodeB...
I don't wanna come across as a troll, so please excuse my question's demeanor, but I am a novice-intermediate programmer taking a stab at AJAX. While reading up on JavaScript I found it curious that most of the examples I've been drawing on use PHP for such an operation. I know many of you may argue that 'I'm doing it wrong' or 'JavaScri...
I wonder what would be the best way to learn "new" technologies (i.e. like LINQ, WPF, WCF, AJAX, latest C# 3.0 stuff, etc)?
How do you learn the best? Is it by books, webcasts, online articles, tutorials, examples or hands-on-labs?
Also, how do you make sure that you will remember the learned stuff?
(reading a book/article again? dig...
We're using RSpec and Cucumber in our Rails apps with good results. Webrat is great for non-AJAX interactions, but we're getting ready to get back into writing tests for our Javascript.
Webrat has Selenium support built in, and we've used Selenium before, but I'm curious if anyone has had good results using Watir with Cucumber and what ...
Can you call ModalPopup from GridView control's Auto generated Edit button? Can someone provide a link on how to do this?
...
From what I've already read this appears to be impossible, but I wanted to see if anyone out there has a secret trick up their sleeve or at least a definitive "no".
Supposedly a master page is really just a control for a content page to use, not actually the "master" of a content page. If I wanted to go from one content page, to anot...
I've tried my best to be a purist with my usage of Javascript/Ajax techniques, ensuring that all Ajax-y behavior is an enhancement of base functionality, while the site is also fully functional when Javascript is disabled. However, this causes some problems.
In some cases, a DOM node should only be visible when Javascript is enabled in...
Hi,
I add an Accordion AJAX toolkit control.
When I switch back to designer view and get an error like 'Error creating control'.
When i switch to the code view all the AJAX controls have been replaced by ACCORDIONEXTENDER with the same ID and so gives an error like 'Toolkit Accordion does not have Extender property'.
Why does Visua...
On an html page i click on a link and i get a dialog which loads server content through an ajax call.
I cannot change the javascript that created this dialog neither the ajax callbacks .
I have the need to access the href of the clicked link from another javascript to change some content loaded into the dialog from the ajax call. This ...
I want a nice "on mouse over"-effect on a word. I want my system to show a 2*1 (inches) rectangle with some information in it. Please guide me to an url or show an example
...
I have an application that shows a list of items.
The user can click on an item and see its details in a modal popup (centered DIV, shown using JavaScript). I need to have a button on that popup that will allow the user to print out the contents of the modal popup only.
This is for an internal application that needs to work in IE7+ onl...
Why was it decided that using XMLHTTPRequest to do XML calls cannot do a call across the domain boundary? You can pull down Javascript, images, CSS, iframes, and just about any other content I can think of from other domains. Why are Ajax HTTP Requests not allowed to cross domain boundaries. It seems like an odd limitation to put, cons...
I could just create a form and use that to do a POST request to any site, thing is the FORM method isn't asynchronous, I need to know when the page has finished loading. I tried messing around with this using an iframe with a form inside, but no success.
Any ideas?
EDIT
unfortunately I have no control over the response data, it varie...
I have a WCF service that takes as a parameter a string value "name". This service interface looks like this...
[ServiceContract(Name = "ContactLookup", Namespace = "Search")]
public interface IAjaxResultSearcherService
{
[OperationContract]
[WebGet(RequestFormat = WebMessageFormat.Json)]
Result[] SearchResultsWithNameLike(s...
I am trying to use the Axinom CMS with ASP Ajax and created a page containing ScriptManager, UpdatePanel and Timer.
When publishing the page in the CMS the actual page is created under
(1) http://localhost/Site/publish/PageName.aspx
but the user is meant to access it under
(2) http://localhost/Site/PageName.AxCMS
which is e...
I have a outer updatepanel that has a few buttons and a inner updatepanel within the outer one.
Both of them are set to updatemode=conditional. I would want the updates to happen independent of each other. However, when a button is clicked in the outer updatepanel, the inner updatepanel is updated as well.
Is there a way to prevent thi...