Hey All,
I wrote code below:
$('a[rel*=showapformdata]').click(function(){
$.post("ajax/ajaxapform.php",{op: "personalData", id: $
(this).attr("title")},
function(data){
$("#resultbox").hide();
$("#apformbox #tab1").html(data);
$("#apformbox
You could post it to a scripting file (php etc) then have that forward
the post onto the correct page, but don't use a variable in the JQuery
code for the forwarding page for obvious security issues.
On Dec 10, 9:11 am, MorningZ wrote:
> if
>
> http://<<< domain where AJAX call is made from>>>
>
if
http://<<< domain where AJAX call is made from>>>
is different than
http://<<< domain where AJAX call is made to>>>
even if it's just a "sub"-domain, it is not going to work as you are
breaking the cardinal rule of browsers: client side script cannot
call another domain like this
doesn't m
Hi there,
I've configured mod_rewrite rules to have pseudo sub domains for
pages.
I discovered that when i try to send a $.post() request to an absolute
path, the function() which needs to be executed after a successful
$.post, doesn't execute. In my code, it stays at "Please wait... "
stage.
Aft
I've been struggling with an issue for while now: trying to do a
partial page update to a google intensity map visualization using
jquery. Recently tried setting up a JSON builder and using the
jquery.post method to get the data from the server. Eureka! Or so I
thought. The intensity map I dra
Is it possible to use $.post() with the php file in parent directory
or a completely different directory?
Can someone explain a little bit more (more then jQuery's docs) about
how the $.post operates? I know it's a "shortcut" for .ajax and it
uses the HTTP POST request. So I'm guessing it's not sending the same
request the form would send... i.e. you HAVE to provide the data to
the php script throug
Hi,
I have a problem with an AJAX call. It's a long time since a got it. I
don't know how to deal with it. I have made tests and I don't know why
it's happening.
I have a post AJAX call. Just like next one:
$.post(MY_SCRIPT, { db_id: selected_data},
function(data){
I am not entirely sure if i am using proper definitions here, but here
it goes..
I have $.post() inside javascript functions. If ajax is successfull,
it returns data from the server. I am trying to assign this data to
javascript global variables. The problem is that my global javascript
variable
Sorry, cannot help. Please leap on your balcony (and video tape it).
Just joking. ;)
Do you have anymore information on what "the .post fails" mean? The
sentence is too vague.
Does it make the request and it errors? Or does it not make the
request at all?
You can use Firebug for Firefox to help
I would first try putting your function call to reloadWindow() in the
complete callback for the $.post function. So your post code would
look like:
$.post( "includes/update.php", { action: "y" }, reloadWindow);
and take out the call to reloadWindow() after updateSession()
You may have other bac
I need some cross browser support here before I leap off my balcony
this morning.
I am working on a simple store which has links for the shopper to
enter a coupon code. These open a coupon code entry window. When the
user enter the code and clicks submit the following actions fire off;
check code
I use $.post like so:
$.post("http://mydomain.com/some/webservice";, $.toJSON({ emailAddress:
emailAddress }), callback, "json");
this works great..the response of the POST is a json string and that
is used in the callback..now I added https:
$.post("https://mydomain.com/some/webservice";, $.to
On Thu, Sep 17, 2009 at 9:02 AM, Ben wrote:
>
> My question is if i used jquery post method to change some div
> content, than this new div won't have mouseover and mouseout affect
> anymore, is there anyway to achieve it. Is that needed to trigger
> ready function again?
&
Me tr").mouseout(function(){
$(this).removeClass("over");
});
}
My question is if i used jquery post method to change some div
content, than this new div won't have mouseover and mouseout affect
anymore, is there anyway to achieve it. I
Hi,
I can not upload an array to the server...
I am using this:
$.post("/addPolyline/", {project_name:project_name,
polyline_coordinates:vertexArray}, function(data){
alert("Done");
});
project_name is a string.
The vertexArray contains coordinates so it could look like this:
[(-11.2323,34.345
Hi,
I stick on a wired ajax problem. The following code works on my local
machine. But when i replace the post url to an other server the _POST
array is empty. I tried different clients, servers and browsers. $.get
(... works fine.
string
}
Even if the data is JSON?
Do I have to use $.ajax() instead?
Thanks for your help.
Bohdan
I want to load news in my html page from a php script from another
site.
I have included this script in my html page, but not work, maybe I'm
wrong using $.post?
$(document).ready(function(){
$.post("http://www.othersite.it/news.php";,
function(data){
Hi I'm feeling very stupid asking this but here goes:
I'm sending something like this
$.post("/scripts/login.php",{u:"USER",p:"PASS",r:"STAY"},function(txt)
{$("div#"+div).html(txt);});
but the php $_POST[''] array get's no data...
now please tell me how stupid I am :)
phutte,
>Thanks Dan and Kristinn, happy coding.
>$.post acts like ajax? $.ajax the same way like $.post, but for XML?
>I only want to post it, and i thought i could have the message 'Remote
>call in progress...', only cause it looks nice. But OK, i have to
>settle for submitting not through jQuer
Thanks Dan and Kristinn, happy coding.
$.post acts like ajax? $.ajax the same way like $.post, but for XML?
I only want to post it, and i thought i could have the message 'Remote
call in progress...', only cause it looks nice. But OK, i have to
settle for submitting not through jQuery. This was mo
phutte,
>A little testsite for any interested:
>http://socken.se/temporary.jquery.googlegroups/
>the files index.php + ./myexlauncher/secretmenu.php is probably the
>files of interest. There is no folders hidden in this temporary
>version, and no security what-so-ever, so please handle with care.
What I did on a page I was working on was just simply make a page
refresh after the ajax was finished, didn't really go with the whole
update thing, but the ajax call was still great so the page doesnt
need refreshing if I input a faulty password.
If this is ok then you could just do a
function(
..also, it looks like shit in Internet Explorer, please favor Firefox!
A little testsite for any interested:
http://socken.se/temporary.jquery.googlegroups/
the files index.php + ./myexlauncher/secretmenu.php is probably the
files of interest. There is no folders hidden in this temporary
version, and no security what-so-ever, so please handle with care.
Click on the
Dan the man!
If i understand you right, i have to 'DIV' the whole BODY so that the
whole page is updated? If i submit it without jQuery $.post, just
submitting it to the 'index.php?dir=hastbilder' (also the same
location where i'm at when submitting) as i have always su
Phutte,
> $.post('',
> { name:"nickname", password:"secretpswd",
>loginAttempt:"TRUE77" },
> function(data){
> alert("Data Loaded: " + data);
>
using jQuery with blockUI-plugin to buzz-login for extra functions in
my little backstage-server-file-browser. since i am totally lost in
javascript, jQuery gives me more understanding in the syntax (don't
ask me why). the problem is that i just want to $_POST some vars, if
true: include(login.php
88 matches
Mail list logo