Change width of edit box with AJAX popup don't work under some conditions
Example:
I have a form (Customer)
With a field (CustomerName) which has AJAX popup
so to change the width of the field
On javascript on load event insert
var ctrl = Runner.getControl(pageid, 'CustomerName');
ctrl.getDispElem().css("width", "100px");
this work perfectly BUT !!!
If I check Add Page (Show in popup) on Customer form and I try to open the form using the
(Allow to add new values on the fly) on Lookup wizard from another form for example (Products) to Add
a new Customer on the fly the above script don't work
end the width of the field remain small.
Is there any solution to this?
Thank you in advance
John