Can someone help me with this question?

Can someone help me with this question?

You are developing a form that captures a user's email address by using HTML5 and jQuery. The form must capture the email address and return it as a query string parameter. The query string parameter must display the @ symbol that is used in the email address. You need to implement this functionality. How should you develop the form?

<!DOCTYPE html >

<html>

<head>

<script src=http://code.jquery.com/jquery-latest.js></script>

</head>

<body>

<form>

<input type=”text” name=”email” />

<input type=”submit” value=”submit” />

</form>

<script>

$(“form”).submit(function() {

var string;

[Missing Code 1]

[Missing Code 2]

return true;

});

</script>

</body>

</html>

Pick 2 items from the following code snippets which will provide the functionality requested.

  1. Str = $(“form”).serialize();

  2. Str = decodeURIComponent(str);

  3. Str = $(“form”).contents.toString();

  4. Str = $(“form”).toLocaleString();

  5. Str = decodeURI(str);