/    Sign up×
Community /Pin to ProfileBookmark

post/redirect a page with hidden form values without submit/button action

Hi all, recently i faced one problem :
———-

[U]test1.php[/U] [U]test2.php[/U] [U]test3.php[/U]
form A Form B,Form C Form D


———-

Now when we submit form A in test1.php , it redirects us to test2.php where Form B and Form C are there.Now this form C will have submit button and will redirect to same page ie test2.php and here in Form B which consists of hidden variables and without any submit button.now when we post or redirect that page through javscript ( document.formname.submit(); ) it redirects me to test3.php.NOW problem arises here, all this code works in Internet Explorer and IN FIREFOX this doesnt work.can anyone suggest a solution.awaiting reply

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @janardhanSE spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...