1

I am using Jquery validation Engine with Jquery Mobile, it works fine when refresh the page but didn't work when coming from index page to abc page.

I have tried below code but no progress also I changed pageinit to pagebeforeshow but still no progress.

$(document).on('pageinit', function(){

});

My console says:

TypeError: options is undefined
[Break On This Error]   

options.eventTrigger = "submit";

The above error comes in Jquery validation engine file, but once refresh it works like charm.

Any help will be greatly appricaited.Thanks.

1 Answer 1

2

Please use

$(document).on('mobileinit', function(){

});
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.