Welcome Guest, Not a member yet? Register   Sign In
How to pass in a struct to javascript
#2

You need to pass the data to javascript using json so json_encode your array
before sending it javascript.

You may also need to use an ajax get command to get the data from php.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: How to pass in a struct to javascript - by InsiteFX - 06-04-2019, 05:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB