Hi,
Sending post params from an anchor can't be done.
So when I need to do that (ie : for a delete link which need to have a hash
in order to avoid csrf), I just cheat.
I replace the anchor tag with a post form containing hidden inputs for
params and a button input (submit inputs are harder to customize for all
browsers) that I customize via css in order for it to look like a link.
Ludwig
--------------------------------------------------
From: "Sami" <[email protected]>
Sent: Thursday, March 04, 2010 9:20 AM
To: <[email protected]>
Subject: [fw-general] Re: Send parameter to form as post
Yes the form is post but the problem not in the form.
the problem in the anchor link take me to form with parameter
publisherId i need this parameter in form but not need show this parameter
the url.
this url /statements/upload?publisherId=1 in the anchor
i have more url in this page to take me in the form upload statement
/statements/upload?publisherId=1
/statements/upload?publisherId=2
/statements/upload?publisherId=3
/statements/upload?publisherId=4
i need to go to form upload statement with this parameter (publisherId)
but not need show in url.
--
View this message in context:
http://n4.nabble.com/Send-parameter-to-form-as-post-tp1576275p1577727.html
Sent from the Zend Framework mailing list archive at Nabble.com.