html - AngularDart - Use Form Action -


i trying use form action attribute in angulardart redirect specified url. in plain html this:

<form action="http://localhost:8082" method="get">    <select name="q">         <option value="0">0</option>         <option value="1">1</option>         <option value="2">2</option>         <option value="9">9</option>       </select>    <input type="submit" value="guess"> </form> 

how implement functionality angulardart?

thanks in advance

in angular instead request in code, because form action="..." reload application or page not want in single page application (spa):

<form (ngsubmit)="onsubmit()" 

and post form in dart code shown in question in dart: ajax form submit

i haven't done myself in years , don't have full example, should going.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -