Programming
javascript

Question Description

I’m stuck on a Computer Science question and need an explanation.

how to add an action in javascript?

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

<scripttype="text/javascript">
    window.onload =function(){
        document.myform.action = get_action();}function get_action(){return form_action;}</script><formname="myform">
    ...
</form>

alizeh707 (129)
Carnegie Mellon University

Anonymous
I was on a very tight deadline but thanks to Studypool I was able to deliver my assignment on time.

Anonymous
The tutor was pretty knowledgeable, efficient and polite. Great service!

Anonymous
Heard about Studypool for a while and finally tried it. Glad I did caus this was really helpful.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4