Hi,
My problem:
I have 2 functions like this:
- function submitForm()
- {
- // submit form
- }
- function doPost()
- {
- // do a post
- }
- function Login()
- {
- doPost();
- submitForm();
- }
So my problem is that the doPost() function doesn't get properly executed, it only works if there is an alert function in it. I tried using the success function of the post to execute the submitForm() function, but it also didn't work properly.
Can somebody point me in the right direction.
I appreciate any help.
Thanks,
Erik