Skip to main content

Bug Tracker

Side navigation

#5964 closed bug (invalid)

Opened January 28, 2010 01:34PM UTC

Closed January 29, 2010 03:25AM UTC

$.post similiar variable name a post variable name...

Reported by: Oyeme Owned by: joern
Priority: major Milestone: 1.4.1
Component: web Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:
Description

Variable and post variable not work with similiar name.

var PFrom = $('#PFrom').val();

example PFrom = 'test'

$.post('curl.php', {'PFrom' : PFrom }function(data) {

...

});

RETURN : Array ( [PFromA] => )

Variable and post variable not work with similiar name.

This work fine :

var PFrom = $('#PFrom').val();

example PFrom = 'test'

$.post('curl.php', {'PFromNOTSIM' : PFrom }function(data) {

...

});

RETURN : Array ( [PFromA] => test )

This work fine..

Attachments (0)
Change History (1)

Changed January 29, 2010 03:25AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Please reopen and attach a test case.