{"version":"1.0","type":"rich","title":"Gist 3957869","description":"This example demonstrates a simple form interaction that disables a text input field based on the selected operating system. The form contains a dropdown menu and a text field; choosing “MAC” disables the text input, while selecting “PC” re-enables it. The behavior is implemented with jQuery, using the `.change()` event handler and the `.attr()` and `.removeAttr()` methods to toggle the `disabled` attribute. The code relies on the Yii framework’s `registerCoreScript` method to load jQuery, and the form submits via POST, though no server-side processing is shown.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3957869?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}