The inserting of the fields works, but submitting the form does not login the user. I also tried to fill the fields myself and then submitted the form in the console, but this does not work either. Pressing the submit button works as expected.
Can somebody help me?
edit: Solved it with: $('#navloginform button[type="submit]').trigger('click');
That's good that you solved it. Your problem was that you used the same ID for more that one element. as rule: ID's have to be unique. If you just changed the submit button id to... #submitBtn (for example) then $(" #submitBtn ").trigger('click');
Asked in February 2016Viewed 1,876 timesVoted 13Answered 2 times