Last active
April 25, 2023 09:33
-
-
Save mskeen/8981723 to your computer and use it in GitHub Desktop.
rails: insert a partial via javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#graph-preview').replaceWith("<%=j render partial: 'preview' %>"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment