Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Sample events > Appearance

Change the width of an edit box with an AJAX popup

Scroll Prev Next More

 

To change the width of an edit box with an AJAX popup, use the following code in the JavaScript OnLoad event.

 

 

var ctrl = Runner.getControl(pageid, 'Make');
ctrl.getDispElem().css("width", "200px");

See also:

JavaScript API: Control object > getControl()

JavaScript API: Control object > getDispElem()

Customizing CSS

AJAX-based Functionality

AJAX helper object

How to create a custom Edit control plugin

JavaScript API

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software