0

This maybe a basic question.....

I am creating a website that features video and photo content. I need a button that i want to include with a video that will open a webform so the viewer of the video can request the download link for that video.

By clicking the request button, I want the webform that opens to include the video title/webpage that the video is sitting on to be automatically included on the form.

To make it clear my question is... How to include content name or website link in a web form when user clicks on a request button that links to a web form.

4

1 回答 1

0

如果要更改表单属性,只需将表单设置为变量并更改属性:

var form  = document.getElementById("someform");
form.method = "post";
form.action = "new URI goes here";
于 2013-10-19T07:35:10.337 回答