Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submit checkbox data using a link

Status
Not open for further replies.

chrismassey

Programmer
Aug 24, 2007
264
GB
I am currently improving on a Webspace Explorer system written in PHP which inevitably incorporates HTML/CSS and javascript.

My main issue at the moment is that I need to be able to see which files have been selected to perform an action on them. This would be simple if I were to use a normal form. However, the way it is laid out would mean that I would have to use forms within forms which I don't think is possible.

Therefore I would like to be able to submit data using a link. However I believe this would mean that I would have to dynamically change the URL of the link submitting the data.

E.g. the initial link would be
And when a checkbox is selected, the url dynamically changes to
Or if 2 are selected

etc

Is this possible to do?

Thanks alot,

Chris
 
You can't dynamically change the target of a link in straight HTML. You'll need to use JavaScript.
 
Thank you very much for your response.

I realised that this isn't a HTML/CSS topic and i'm going to post the same question in the javascript forum

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top