[jQuery] $.post() can't work in IE7, but work in IE8

2010-01-05 Thread Tuba
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

[jQuery] Re: jQuery $.post() over subdomains (created using mod_rewrite) NOT WORKING!

2009-12-10 Thread Nishan Karassik
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>>> >

[jQuery] Re: jQuery $.post() over subdomains (created using mod_rewrite) NOT WORKING!

2009-12-10 Thread MorningZ
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

[jQuery] jQuery $.post() over subdomains (created using mod_rewrite) NOT WORKING!

2009-12-10 Thread Pj
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

[jQuery] Jquery post for google intensity map - tabs don't work?

2009-11-13 Thread Mark in A2
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

[jQuery] $.post(), php file in parent directory?

2009-10-26 Thread Vlad
Is it possible to use $.post() with the php file in parent directory or a completely different directory?

[jQuery] $.post and form data

2009-10-11 Thread Jason
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

[jQuery] post AJAX no response

2009-10-08 Thread David
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){

[jQuery] $.post() speed

2009-10-08 Thread Adonis
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

[jQuery] Re: jQuery .post function failing in Safari 4.03

2009-09-30 Thread James
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

[jQuery] Re: jQuery .post function failing in Safari 4.03

2009-09-30 Thread Matt Critchlow
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

[jQuery] jQuery .post function failing in Safari 4.03

2009-09-30 Thread jefrobaby
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

[jQuery] $.post cross domain first sends an OPTIONS verb?

2009-09-25 Thread David P
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

[jQuery] Re: How to get mouseover and mouseout action to take place after changing div with jquery post method

2009-09-17 Thread Charlie Griefer
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? &

[jQuery] How to get mouseover and mouseout action to take place after changing div with jquery post method

2009-09-17 Thread Ben
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

[jQuery] post an array

2009-09-09 Thread Adonis
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

[jQuery] $.post - post array is empty

2009-09-09 Thread atur
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

[jQuery] $.post not load why?

2007-06-04 Thread Massimiliano Marini
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){

[jQuery] $.post send data problem

2007-05-06 Thread Tamm
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 :)

[jQuery] Re: jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread Dan G. Switzer, II
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

[jQuery] Re: jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread 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 jQuery. This was mo

[jQuery] Re: jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread Dan G. Switzer, II
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.

[jQuery] Re: jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread Kristinn Sigmundsson
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(

[jQuery] Re: jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread phutte
..also, it looks like shit in Internet Explorer, please favor Firefox!

[jQuery] Re: jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread 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. Click on the

[jQuery] Re: jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread phutte
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

[jQuery] Re: jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread Dan G. Switzer, II
Phutte, > $.post('', > { name:"nickname", password:"secretpswd", >loginAttempt:"TRUE77" }, > function(data){ > alert("Data Loaded: " + data); >

[jQuery] jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread phutte
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