Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I work on an enterprise platform where I have client side access, but no server side access. My only options for injecting HTML are:

1) cross domain AJAX via CORS

2) Injecting HTML strings constructed in JS

For small amounts of HTML, I'd much rather go with option #2.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: