Welcome Guest, Not a member yet? Register   Sign In
HTML in Model
#7

I've created a seperate view for the table structure.
I then created a seperate function in the controller that loads the data in the view and returns it as a string (byu appending 'true' at the load view function).

I then return the full HTML string back to the AJAX success function.

Works like a charm, thank you everyone !!
Reply


Messages In This Thread
HTML in Model - by AngelTrader - 09-25-2019, 11:13 PM
RE: HTML in Model - by ciadmin - 09-25-2019, 11:26 PM
RE: HTML in Model - by AngelTrader - 09-25-2019, 11:35 PM
RE: HTML in Model - by dave friend - 09-26-2019, 06:11 AM
RE: HTML in Model - by albertleao - 09-26-2019, 10:14 AM
RE: HTML in Model - by ciadmin - 09-26-2019, 10:30 AM
RE: HTML in Model - by AngelTrader - 09-26-2019, 10:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB