CodeIgniter Forums
How to... Javascript/query? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How to... Javascript/query? (/showthread.php?tid=31540)



How to... Javascript/query? - El Forum - 06-23-2010

[eluser]Sinclair[/eluser]
I saw this tutorial...

http://www.javascriptkit.com/javatutors/externalphp.shtml

I need to know if this is possible:

My website is: www.mywebsite.com

Can I do this?

<<[removed]<<[removed]>>

Best Regards,


How to... Javascript/query? - El Forum - 06-23-2010

[eluser]LuckyFella73[/eluser]
Maybe you could write an ajax script requesting the latest news.
I don't know if there are problems when making an ajax request to
an other domain but it should work somehow.


How to... Javascript/query? - El Forum - 06-23-2010

[eluser]Sinclair[/eluser]
Can I do a codeiginter controler that generate HTML and then call that method in a Javascript function?

Best Regards,


How to... Javascript/query? - El Forum - 06-23-2010

[eluser]Sinclair[/eluser]
I saw this tutorial...

http://www.javascriptkit.com/javatutors/externalphp.shtml

I need to know if this is possible:

My website is: www.mywebsite.com

Can I do this?

type="text/javascript" src="http://www.externalwebsite.com/ip.php"

Best Regards,