Welcome Guest, Not a member yet? Register   Sign In
Jquery, Javascript, and XML-Need Help!
#2

[eluser]Sean Gates[/eluser]
@zimco

If I understand your dilemma correctly, I think you're on the right track. But, I think there may be a better way:

1) I think you could do the request with CURL (in a model)
2) In the model put the necessary values in an array
3) Then build the GnuBook Javascript as a view, making it fully dynamic.
4) Last, you could just call the new JS view with something like:

Code:
<script src="/controller/gdjs" type="text/javascript"></script>

Let me know if my thinking is off base, but I believe this would work better for you in the long run. More PHP, less JS.

-- Sean


Messages In This Thread
Jquery, Javascript, and XML-Need Help! - by El Forum - 01-10-2010, 02:27 PM
Jquery, Javascript, and XML-Need Help! - by El Forum - 01-10-2010, 10:09 PM
Jquery, Javascript, and XML-Need Help! - by El Forum - 01-11-2010, 07:50 AM
Jquery, Javascript, and XML-Need Help! - by El Forum - 01-11-2010, 08:43 AM
Jquery, Javascript, and XML-Need Help! - by El Forum - 01-12-2010, 08:13 AM
Jquery, Javascript, and XML-Need Help! - by El Forum - 01-23-2010, 09:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB