1 (edited by vinothvetrivel 2012-09-22 1:44:32 PM)

Topic: How to change confirmcommands box width

I used xajax confirmCommands to display some user details before delete but it takes more width. How i reduce the width of the confirmCommands message box.
This is my code.

$responseObj->confirmCommands(1,"
                                     Name    :".$formData['userName']."
                                     Email id    :".$formData['emailId']."
                                     Mobile    :".$formData['mobile']."\n\n
                                     Origin        :".$queryData['origin']."
                                     Destination    :".$queryData['destination']."
                                     Travel date    :".$travelDate."
                                     Retrun date    :".$returnDate."
                                     Amount        :".$formData['amount']."
                                     Type        :".$formData['type']."
                                     Person        :".$formData['person']."
                                     Total amount    :".$totalAmount
                                     );
$responseObj->call('xajax_delete'); 

Re: How to change confirmcommands box width

Try terminating each line with a new line (\n) then they shouls align vertically.

Ed

If you ever stop learning you may as well dig a hole, crawl in and pull the top over yourself.