CastleSoft Posted December 13, 2012 Posted December 13, 2012 Hi, I'm trying to use jQuery with the UniGui controls but have found that the JSName property is always empty ? Is this a bug ? I add jquery.min.js in the servermodule.customfiles The controls are generated in the format: 040_id (ie.. XXX_id where XXX is a number) so I was hoping to be able to do something like this: UniSession.AddJS(SysUtils.Format('$(''#%s_id'').myfunction()', [uniEditControl.JSName])); In the Form.Activate.. But the JSName is always blank ? Any idea ? Thanks
CastleSoft Posted December 18, 2012 Author Posted December 18, 2012 Fixed with a re-install with the latest version. Thanks Hi, I'm trying to use jQuery with the UniGui controls but have found that the JSName property is always empty ? Is this a bug ? I add jquery.min.js in the servermodule.customfiles The controls are generated in the format: 040_id (ie.. XXX_id where XXX is a number) so I was hoping to be able to do something like this: UniSession.AddJS(SysUtils.Format('$(''#%s_id'').myfunction()', [uniEditControl.JSName])); In the Form.Activate.. But the JSName is always blank ? Any idea ? Thanks
Recommended Posts