My web application uses an ajax enabled wcf service and everything is fine as of now...
But what about when i move my application to production server.... Should i host my ajax enabled wcf service?... Any suggestion from anyone who had experience in hosting an ajax enabled wcf service...
...
Hi,
I'm just making a small utility with a local html file (checker.htm) with JavaScript(using jquery) on my desktop that requests data from my website every 10 mins. if it finds it then does nothing. else alerts me.
The problem i'm facing is :
I can't seem to use either POST/GET from the local htm file c:\checker.htm :
<script src="...
I have a button which calls jquery.ajax and submits POST data. I need to get user text from a textarea. So far, no problem. However now i need to set the post data. I have a string in the form as k=v&k2=v2 etc and then i have this user text. I obviously cant write + "&usertext=" + usertext since the text may have code and &kxxx=val which...
I'm using the PagingBulletedListExtender with an IndexSize="1". This displays alphanumerics relevant to the list items.
Is there a way of having all items in the collection be displayed?
...
First let me say that I learned scripting by myself so my approaches may be a bit weird.
I want to call images into a div using AJAX but with a thickbox tag so when the image thumb is clicked the big image is displayed using the Thickbox (jQuery).
Here is the example page: click here
OK, please click in the menue on "photo" and then o...
I'm using the following jQuery code to try and access the delicious api, but it's not working. If I go directly to the api url in the browser it returns the xml as expected, so the url is correct.
Anyone got any ideas what's up? Could be that it's https, but teh jQuery documentation doesn't explicitly forbid this.
$(document).ready(fu...
I stored data in MySQL database using AJAX and it is working. But I face a problem to retrieve data using AJAX.
My coding for storing data (its a posting comment page):
function sendMail(form_id) {
// Do a client-side check; if it passes, then move on;
// otherwise, report an error to the user
//if (!validatePage(form_id)...
Related to my earlier question (thanks for your response Cryo), I have a further question for the javaScript mavens here.
Given an html structure like this:
<content>
<div entry>
<div rubric>
<a name>
</div>
<div content block>
<p>
<a links>
</div>
</div entry>...
hi,
i have a page with dynamic data loaded by some ajax and lots of javascript.
the page contains a list from which the user can choose and each selected value loads new data to the page.
one of these data items is a url provided to an iframe.
i use jQuery BBQ: Back Button & Query Library to simulate the browser-back behavior.
all works...
Here is my javascript code:
var xmlhttp;
var result;
function load()
{
xmlhttp=null;
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=state_Change;
xml...
Hi,
I have AJAX calls that get content that expires often.
To get that content is is better practice to use:
Post
or
Get and set the Cache Expiration Date as immediate on the server?
Thanks,
Jon
...
Hi I'm trying to hide/show a div based on an AJAX response. I really don't know, is there way for that?
If response is an error, show the error text and show the div (same div).
If response is not an error, show the success text and hide a div (same div).
It's like facebook function.
I should do that with javascript function(s).
EDI...
Hi, can someone tell me how to create a nice small tooltip like ajax pop-up ?
the situation is like this,
I am pulling the $row->title from the db, and then I presented it as a link like this
<?php foreach($task->result() as $row): ?>
<tr>
<td><a href=#><?php echo $row->title; ?></a></td>
</tr>
<?php endforeach; ?>
wh...
Does any javascript framework has a function, which:
makes AJAX request
returns the response
( it does not take a callback function as an argument )
I basically want to do the AJAX request the same way I do SQL querys in C, python or whatever.
...
Is there an easy way to populate my C# Object with the JSON object passed via AJAX?
//This is the JSON Object passed to C# WEBMETHOD from the page using JSON.stringify
{"user":{"name":"asdf","teamname":"b","email":"c","players":["1","2"]}}
//C# WebMetod That receives the JSON Object
[WebMethod]
public static void SaveTeam(Ob...
I have a simple ajax call:
$.ajax({url: my_url_here,
dataType: 'text',
success: function(data, textStatus) {
if(textStatus == "success") {
alert('success');
}
else {
alert('fail');
}
},
error: function(XMLHttpRequest, textStatus, ...
I have a div on the page where the contents change depending on the value selected in a drop down. Because there is a large amount of formatted content in this div I want to have a php script supply html which is stored in a file on the system.
I can't seam to figure out how to have php return the contents of that file, which essentiall...
I'd like to provide my users a way to navigate a taxonomy by successively drill down ono drop down lists.
A simple example would be something like ebay's categories. Say you pick the category "Clothing", the next drop down list would display all the sub-categories under Clothing such as "Shorts", "Pants", "Coats" etc. And this can go on...
I haven't found a good resource in using # in urls to enable bookmarking with ajax calls so I have a few questions.
We have a site based on CakePHP using 'pretty' urls essentially www.mysite.com/controller/action/param1:param2 I noticed that Facebook uses a weird syntax with their pretty urls ex) #!/?ref=logo
Is there a way we can use ...
I need to deal with these two cases differently,is there a good solution?
...