This is more tricky than it should be because url_for, asset_path, etc. all rely on different mechanisms.

Attached (see below) is some code to allow using unobtrusive JavaScript on pages fetched with an AJAX call.

Best results in other decks

makandra Curriculum

makandra offers an 8 month paid trainee program 🇩🇪 for junior developers that are looking to start a professional career in...

To connect to the serial console of an EC2 instance, you can use the aws cli. Add your public ssh...

Search in all decks