Welcome Guest, Not a member yet? Register   Sign In
Use CI functions within linked javascript file
#1

[eluser]Daniel H[/eluser]
Hi

I'm a newbie so please bear with me. I'm using CI and Spry. I'm extremely keen to use the CI db to xml util to generate datasets for use with Spry, but since I'm creating a dataset like this...

Code:
<!--
var dsTags = new Spry.Data.XMLDataSet("<?=base_url();?>system/application/views/datasets/ds_tags.php", "Tags/Tag");
dsTags.setColumnType("AgencyDisciplineID", "number");
//-->

I obviously cannot use dbutil within ds_tags.php. Is there an easy way I can include this functionality within this file?

Thanks!


Messages In This Thread
Use CI functions within linked javascript file - by El Forum - 01-04-2008, 02:49 PM
Use CI functions within linked javascript file - by El Forum - 01-04-2008, 05:02 PM
Use CI functions within linked javascript file - by El Forum - 01-04-2008, 05:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB