0

Plz help Why check box answer not shown in result

<form action="//www.html.am/html-codes/forms/html-form-tag-action.cfm" target="result" method="get"> <p>What would you like for lunch?</p> <input type="checkbox" name="fruit" value="Apple"> Apple <input type="checkbox" name="fruit" value="Orange"> Orange <input type="checkbox" name="fruit" value="Banana"> Banana <p><input type="submit" value="Submit"></p> </form> <h3>Result:</h3> <iframe name="result" style="height:100px;width:200px;"></iframe>

11th Aug 2020, 7:47 AM
Obaidullah Khan
Obaidullah Khan - avatar
2 Answers
+ 1
Target value = result ??? Possible values of target attributes are _self, _blank, _parent, _top try with these
11th Aug 2020, 8:40 AM
Divya Mohan
Divya Mohan - avatar
0
Hi Obaidullah Khan, The value specifiied for 'action' attribute appears to be missing a protocol, it looks rather incomplete. The value specified for 'target' attribute is not a valid option (see other response by Divya) Please specify relevant language(s) in thread's tags above e.g. ColdFusion ☝ (Edited)
11th Aug 2020, 8:01 AM
Ipang