'success'=>'js: function(data) {
$("#addToListDialog$model->product_id").dialog().dialog("close");}'
I'm trying to write the above piece of javascript, but can't get the right combination of curly brackets a single/double quotes in order to resolve the PHP variable. How should I be writing this?
{$model->product_id}.htmlfiles, your CSS in.cssfiles, and your JS in.jsfiles. Use[data-*]attributes and classes if you need to pass data to JavaScript._id').dialog({ autoOpen: false })