How do you pass vars to view thru to javascript? |
[eluser]zimco[/eluser]
Thanks for the reply. I have looked at http://tonyperson.com/code/xml2json but had no success in getting it to work with my XML file. Further googling of the problem reveals that maybe i should not be trying to read the XML data in the controller and passing on variables, but should read the XML file directly in the javascript file itself. However, i would still need to pass the location of the XML file on to the javascript file possibly thru some type of session variable. |
Messages In This Thread |
How do you pass vars to view thru to javascript? - by El Forum - 01-08-2010, 07:28 AM
How do you pass vars to view thru to javascript? - by El Forum - 01-08-2010, 08:10 AM
How do you pass vars to view thru to javascript? - by El Forum - 01-08-2010, 10:53 AM
|