Welcome Guest, Not a member yet? Register   Sign In
Passing array to Javascript code
#1

[eluser]taizen[/eluser]
(Pardon my rookieness)

I've created a view from this Flot (jQuery plugin) example: http://people.iola.dk/olau/flot/examples/real-data.html

Then i want to pass an array with data collected from a database to the Javascript code, so that the graph is updated according to the database content.

I guess this is really simple but my knowledge of PHP, CI and JS is rather limited, so a little guidance here is greatly appreciated.


Messages In This Thread
Passing array to Javascript code - by El Forum - 06-22-2008, 06:54 AM
Passing array to Javascript code - by El Forum - 06-22-2008, 08:59 AM
Passing array to Javascript code - by El Forum - 06-22-2008, 09:43 AM
Passing array to Javascript code - by El Forum - 06-22-2008, 12:26 PM
Passing array to Javascript code - by El Forum - 06-22-2008, 01:33 PM
Passing array to Javascript code - by El Forum - 06-22-2008, 02:11 PM
Passing array to Javascript code - by El Forum - 06-22-2008, 05:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB