Tag: backbone
WordPress AJAX using Backbone JS
WordPress has default backbone js included and we can use backebone.js for ajax in WordPress. We just need to include it. I’ve created an example of ajax using backbone. All you need to do is check the following link. https://github.com/BhargavBhandari90/wp-tips/tree/main/wp-backbone-ajax
Need Help… How to use trigger event in backbone?
So I have a script where I am trying to trigger click event by jQuery. Here is the syntax $( ‘#selector’ ).trigger( ‘click’ ). But that will work if the click event function is written in jQuery. What if click event is written in backbone? How can I trigger click for that? If anyone has…