jeudi 4 février 2016

How to click a hyperlink( tag) automatically by clicking only a submit button in html?

<input type='submit' name='btnAdd'  onclick="{{ route('eventCal_index', $_SESSION['title']) }}" value='Add event' >

Submit button should be both work for submission and navigate to that route

That means without clicking the hyperlink, by clicking the submit button I want to click another link automatically. Simply, Is there a way to click a hyperlink( tag) automatically



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire