Jump to content

Recommended Posts

Posted

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

Posted

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

×
×
  • Create New...