0

I have custom AJAX code on a blog page that I set up to access my PHP files on my own domain, but oh no! I can't do that.

I would use jQuery to work around this, but can't, because I cannot upload the apparently neccessary jQuery.js to the website, as it is not mine.

Is there a way to access PHP requests by modifying HTML only on a page?

jtst
  • 312
  • 4
  • 16
  • jQuery can do nothing JavaScript can't do alone, and is limited to what plain JavaScript is allowed to do - so no, it is obviously not necessary. – Bergi Nov 07 '12 at 00:31

1 Answers1

1

If you can link to external sites from your site you don't have to host jQuery:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
  • Deleted my answer. Yea, should use this CDN version of jQuery. You don't need to host jQuery yourself! – Parris Nov 07 '12 at 00:31