Hello all,

I have a problem with returning html data from an ajax request.

I have php method which is called via ajax and returns a long html
string which consists of multiple tables, each table represents one
question in a questionnaire. They display fine.

I then have a button which calls a second php method that returns one
individual table - identical in structure to the multiple tables that
were returned previously. However,when displayed,the new table has the
an inline style "display:block;" and so it screws up the way it looks.
I have, at no point, declared this additional style anywhere in my
code. Even if I do add an inline style of "display:table;" to the
returned html, it is overwritten in the output html - so it is clearly
being done by javascript.

I'm totally baffled, is this a known problem?

Cheers,
Pete

Reply via email to