Hi, i do 2 different ajax request via jQuery and i have to check the other one is active or not. How can i do that ?
one of example from my ajax requests:
active_project_categories_ajax = $.ajax(
{
url: "/ajax/get_skill_list",
dataType: 'json',
......
});
i need something like that: active_project_categories_ajax.status()
How do I make an HTTP GET request with parameters in Ruby?
It's easy to do when you're POSTing:
require 'net/http'
require 'uri'
HTTP.post_form URI.parse('http://www.example.com/search.cgi'),
{ "q" => "ruby", "max" => "50" }
But I see now way of passing GET parameters as a hash using net/http.
I have a Url that returns a file. How should my jquery request looklike to download this file to the user??
the action method looks like this
public FileContentResult GetFile(int Id)
{
if (Id == 0)
return File(new byte[0], "");
Survey survey = Repository.GetItem(Id);
return File(survey.File.FileContent.ToArray(), survey.File.ContentType, survey.File.Name);
}
I try to send http request like:
..."POST http://api.facebook.com/restserver.php?method=facebook.users.setStatus&api_key=762ec91e7987aaeaee7e2cdfdfcb3c30&call_id=$call_id&sig=$s&v=1.0&uid=1533439618&status=44 HTTP/1.1";....
but I receive nothing...
in twitter I success:
..
"POST ht tp://twitter.com/statuses/update.xml?status=123123 HTTP/1.1"
...
i have PHP serve and one csv file .
i need to read csv file and send the data to the browser.
if individual request = 10,000 or more (may be) then reading csv file from harddisk may be costly.how can i efficiently read csv file from PHP and send the data to the browser.
there is no option to read data form relational db.
only browser<-------------PHP(apache)<----------------CSV
flow pattern.
Is it possible to turn off the Request.Form validation on a per control basis? The problem is that IE 6 and IE 7 puts the content of the <button> tag into the name attribute, thus resulting in html code in the attribute which makes asp.net server shout out loud.
Notice, this only happens in IE 6 and 7 because of their erroneous interpretation of HTML 4.
I am using CKEditor/CKFinder as wysiwyg editor on my MVC.NET site.
I have set [ValidateInput(false)] and it works when debugging it locally, but I receive the following error when I have published the site:
A potentially dangerous Request.Form value was detected from the client (message="<p>
<em>Testing</e...").
can anyone explain why the published site is different from the locally site, especially when I have set [ValidateInput(false)]?
I have a DTV-DVB Mantis BDA satellite card and I was wondering if i can use it programmatically to request a satellite transponder list throw some library or if i should create one Where should i start?
I saw applications do that such as ProgDVB, but i didn't know what is the idea behind that.
Another question: is there any standard that define how to communicate with Satellite TV, and if there is where i can get/read it.
thank you
how to load fb:request-form in iframe / connect facebook app using ajax calls?
for example social city does it
http://apps.facebook.com/socialcity/
the POSTing of selected friend is also done in ajax. how can this be done?
Please, help me. How i can translate this SQL query to LINQ request?
SELECT TOP (1) PERCENT DATEDIFF(DAY, dbo.PO.ORDER_DATE, GETDATE()) AS Age
FROM dbo.ITEMS INNER JOIN
dbo.X_PO ON dbo.ITEMS.ITEMNO = dbo.X_PO.ITEM_CODE INNER JOIN
dbo.PO ON dbo.X_PO.ORDER_NO = dbo.PO.DOC_NO AND dbo.X_PO.STATUS = dbo.PO.STATUS
WHERE (dbo.ITEMS.ITEMNO = 'MBIN001') AND (dbo.X_PO.STATUS = 3)
ORDER BY Age
I'm using ruby's WSDLFactory to create an rpc driver to access the paypoint soap service and i need to see what xml request is being generated is there a way to do this code or should i try and use something like ethereal
When I put value in textbox then its throught this error. I am making Content Management System.
A potentially dangerous Request.Form value was
detected from the client (elm1="<p>ABC</p>").
when page go to server then it's through error.
Please assist.
Hello guys, I tried to install MSCharts on my Win2008 server.
It installed without problem.
Then I wrote
in config.
But when I'm trying to open page with charts it returned following error.
No http handler was found for request type 'GET'
Do you have any thougths about the problem?
I'm trying to do this:
$(window).unload( function () {
$.ajax({
type: "POST",
url: "http://localhost:8888/test.php?",
data: "test",
success: function(msg){
alert( "Data Saved: " + msg );
}
});
alert (c);
});
However, the success alert is never shown, nor does this request seem to be even hitting the server. What am I doing wrong? Thanks!
I am using IIS 7 rewrite to redirect certain pages to https. It seems that my post from such a page fails because i have Request Verification token attribute on the controller. Is this expected behavior or do I have something configured incorrectly? what to do to get around this? works fine without the https redirect.
Is there a way to specify which local network interface to use when using the WININET interface for an outgoing HTTP request?
I know how to do it with WINSOCK (using bind()), but I can't find an equivalent way to do it using WININET.
I need to test my web application against a browser for which back button doesn't generate request to server. Could you give me examples of such browsers?
Hi,
I am writing a C program which needs to send back a HTTP Bad Response.
This is what I write to socket.
HTTP/1.1 400 Bad Request\r\n
Connection: close\r\n
\r\n
My question is why the broswer still spinning (like appear it is still loading something?
Am I missing header in the Http response? OR I miss something else?
Thank you.
This is my first time posting - I greatly appreciate any and all guidance on this subject.
Background: I am building a Real Estate web site. I would like to use the free IDX data provided by my local MLS board. The MLS board does not allow me the option of displaying a predefined search and only provides me with a link to the search field. after filling out the search field, I am able to view the results.
Goal: I would like to bypass this step and frame the results page into a GoDaddy website I am building, which supports HTML.
Here is a link to the search page:
http://fgcmls.rapmls.com/scripts/mgrqispi.dll?APPNAME=Fortmyers&PRGNAME=MLSLogin&ARGUMENT=vBSJvLQtMcbg7F0O0KnXDiggv%2F12B0S6Ss9wv4510QA%3D&KeyRid=1
I am trying to only show the listings that appear in my neighborhood. Options include:
1. Property Type - Residential
2. GEO Area - FM11
3. Developments: Fiddlesticks Country Club
Once this criteria is entered, I have the page needed to make this project work.
Thank all of you for taking the time to read this and for the time you spend helping me out.
Best regards,
Chris
I'm trying to modify the Connection header with the following code with no success
jQuery.ajax
(
{
url: URL,
async: boolVariable,
beforeSend: function(xhr)
{
xhr.setRequestHeader("Connection", "close");
}
}
)
The request headers via Firebug show:
Connection keep-alive
X-Requested-With XMLHttpRequest
Any odd bugs/problems with setting this particular header known? Or is there something I'm doing wrong?
So, I have a control with a datagrid in it and I was wondering if depending on the value I get back from the a Request.QueryString if I could set the table name to that (that is the value being sent) and then have it build the columns?
I have about 3 different tables, and they have different amounts of columns, and of course with different names.
OS: Windows XP/Vista
Qt version: 4.6.1
Using OpenSSL
I need to watch the actual requests and responses that is going through the wire for QHttp requests and responses and in some cases need to interrupt the request. I tried with few of the http debuggers available in the market but they seem to work only for requests that are using the WinInet functions. Unfortunately, the openssldump utility is not present on windows platforms.
Thank you.