I have a case where i want to submit a form and get the response from this submit, because based on this response "at least submit complete response" i will make some other logic.
What makes my case is different that this form is on a domain and i am submitting it to another domain name so can't use ajax submit due to cross script secur...
Hi
I write a method on my page that return a XMLDocument.This is my method:
[System.Web.Services.WebMethod()]
public static System.Xml.XmlDocument MyGet()
{
string cnn=System.Configuration.ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString.ToString();
SqlConnection cn = new SqlConnection(cnn...
Can XMLHttpRequest send a request to http:// mydomain.com:81/ from http:// mydomain.com/ ?
...
I have an index view that I want to update automatically as the user types in a client id. I got something similiar to work (only it was updating just a label) - but this will not work.
What happens is the partial is just rendered by itself (not in place of the UpdateTargetID). So the data is rendered on a new page. Here is my code:
Co...
I'm using jQuery to make an Ajax call using an Http Post in ASP.NET MVC. I would like to be able to pass a Dictionary of values.
The closest thing I could think of was to pass in a multi-dimensional array of strings, but the result that actually gets passed to the ActionResult method is a single dimensional string array containing a str...
I have a page that gathers environment status from a couple of IBM WebSphere servers using iframes similar to this:
<iframe src="http://server:9060/ibm/console/status?text=true&amp;type=server&amp;node=NODE&amp;name=ServerName_server_NODE"></iframe>
and it happily prints out "Started" or "Unavailable" etc. But if I...
I am making a data entry form in php/mysql. There i have added many dropdowns and auto complete textboxes, which query the database asynchronously and fetch the data. I wanted to inform the user that some kind of interaction between client and server is been taking palce, so i placed an element in hidden form
<div id="wait" style="back...
I have updated the html of a div using the Jquery Ajax.
It is working fine: but after that when i see the html of the div in fire bug the html is not updated.
I mean to say that this Jquery Ajax is working fine when i see it as a user, but when i see the html using the Fire bug it is not updated.
This has blocked my further functiona...
I use an ajax ModalPopupExtender on many pages to display confirmation dialog.
So i would like to reuse same code on all pages by placing it in a use control.
But I'm not sure it it possible to access this user control from a javascript (I don't want server side operations).
This is the code that is responsible for popup display, that ...
I am using jQuery to make a POST to a PHP file with the HTML content of a div. The HTML content contain tables, inputs, smaller divs and I would like to grab the content of the main DIV and send it to the database. The only option I could think of is the POST method but I don't know if I can send plain HTML with it. Are there any other o...
Is there really a difference in these two calls? If you use getJSON, you still have to declare format=json in the url...
And you can do the same in $.get(), and iterate through the JSON-object.
Or am I way off here?
...
Well, how to create picture link like this up or down votes (on the left) from link below? (ajax enabled link)
<%= Ajax.ActionLink("Vote!",
"AddPictureVote",
"Vote",
new {id = Model.PictureId},
new AjaxOptions{UpdateTargetId = "addvote"})%>
...
Hello all,
I know you can not do an AJAX File Upload but this just a name I have chosen to use. :)
I am making use of this JQuery plugin. I think the main problem is I am using it in a slightly different context. Here is how I use it and I think this is the problem.
I first make a form:
$("#flash").html("<input id='vidup' type='file'...
First hi and thanks in advance
in ASP.NET :
assume that i have a web site, and there are many users.
i want to inform a specific user about some thing happened by other one ,or generally
any thing like an incoming message from other one .
all that should be happen while this user (who i want to inform) has opened his web page ,
(let's ...
I have a PHP file which will return something like
<div id="title">Add Us On Myspace!</div><img id="image" src="http://i39.tinypic.com/67jybs.png" alt="Add Us On Myspace!" />
This is called using this...
$.ajax({
url: "Tabnews.php",
success: function(tab1html){
$("#tabs-1").html(tab1html);
}
});
I need to de...
I am using UpdatePanel to trigger a button click event, which saves some 100+ files on a designated folder.
I want the server to update the client about the status and count of files being saved.
protected void btnSave_Click(...){
var filesToSave = GetFilesToSave();
foreach(var fileToSave in filesToSave){
SaveProcessedFile(f...
I have a form with (at least) the following two fields:
country
club
The club is a field that is generated via the ZendX_JQuery_Form_Element_AutoComplete Element, that also generates the following javascript code:
$("#club").autocomplete({"url":"\/mywebsite\/\/mycontroller\/autocomplete"});
I have a database of clubs per country. ...
Hey I have this code right here:
http://pastie.org/534470
And on line 109 I get an error saying "TypeError: Result of expression 'this.allVarsDefined' [undefined] is not a function."
Scope in javascript is confusing to me. Can anybody see what my problem is? Also do you guys know of any articles that would help me learn about scope in ...
Using JavaScript/Ajax?
I'm trying to extract values from:
<yweather:astronomy sunrise="6:34 am" sunset="8:38 pm"/>
Looking for something like:
var response = transport.responseXML.getElementsByTagName("channel");
sunrise = response[0].getElementsByTagName("yweather:astronomy").item(0).Attributes["sunrise"].Value;
But nothing wor...
Attached code is an example of how to use Google transliteration
feature in certain html textboxes. I need to enable the same
transliteration feature for a flex application. Is there a way
I could do it?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javas...