View Full Version : add form field value to url??
01-05-2011, 05:03 AM
How can I add a form field value to a url. I tried the below but it no work.
01-05-2011, 07:45 AM
First you will have to identify the link ... maybe it has an id attribute? Let's say it's id="mylink"
Then you will have to write a script that will do the trick
document.getElementById('mylink').href += '&id=' + document.theForm.lists.value + '&picklist';
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.