This topic is locked

Change width of edit box with AJAX popup don't work

6/8/2011 8:13:15 AM
PHPRunner General questions
J
john74x author

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

Sergey Kornilov admin 6/8/2011

John,
we'll need to see the complete application to find what doesn't work. Post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.