javascript - Page works outside of iFrame, but not in an iFrame -


we have form uses knockout , jquery input masks. if directly load page (forces ssl), page works expect. if load page within iframe (parent page non-ssl, iframe page forces ssl), don't script errors, scripts won't work (input masks on phone numbers , dates/add button second pet).

here our test page iframe: http://www.mankatomn.gov/city-services-a-z/sandbox , here iframe page: https://city.mankatomn.gov/animalregistration. every search pull talks running javascript in parent page or having parent page access iframe page. don't care that. want iframe page run independently.

do have ideas going on? in case why wondering why doing this, our cms not support custom forms had create , locally host form.

try loading iframe same subdomain. right i'm getting message in chrome:

uncaught securityerror: blocked frame origin "https://city.mankatomn.gov" accessing frame origin "http://www.mankatomn.gov". frame requesting access has protocol of "https", frame being accessed has protocol of "http". protocols must match.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -