-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ajax without Pjax? #100
Comments
Techincally its possible for ajax as well. You as the developer needs to write the necessary JS code to initialize the plugin after you have overwritten the HTML markup via AJAX (that will break the jquery bindings). In some cases (depending on your design) using yii's renderAjax method to overwrite the HTML can help as the widget will try to reinitialize itself. |
An enhancement has been provided - you can use the plugin's |
Thanks for this widget.
but I should initable the options,assume the option object is
so ,I should add this for init:
but how can get the hash
but in editable widget ,I can not get the hash maybe ,we should add this code in
maybe this issue closed, and can not get the reply, so I open a new issue ,see #175 |
Hi
Like others I'm struggling to get editable working within content loaded through ajax. I don't want to/can't use pjax. This is a great general interface plugin but a bit limited if it doesn't work with vanilla jquery/ajax.
Is there some sample code or a pointer in the right direction?
The text was updated successfully, but these errors were encountered: