I've been looking everywhere for an example of how to create an Angular 2 component using Plupload with TypeScript and accesses Plupload on a CDN. If you have any related information, please post it.
Plupload Forum
Search options
Plupload Forum → Posts by RA
Pages 1
Posts found: 4
1 2017-02-16 00:41:05
Topic: Running PLupload in an Angular 2 / TypeScript environment using a CDN (1 replies, posted in General discussion)
2 2012-05-24 22:10:33
Re: Breaks jQuery: function $(id) {return document.getElementById(id);} (4 replies, posted in General discussion)
Try
function (id) {
(without "$")
Thanks! The problem indeed was the "$" and I replaced all of them that originally appeared on that page with a new arbitrary name and thus I now have
function myPL_FunctionName(id) {
etc.
And I am now able to use both the now-altered original code and jQuery at the same time.
3 2012-05-24 05:29:48
Re: Files doesn't saved (4 replies, posted in General discussion)
Have you tested it locally? Have you tested it by forcing it to use different runtimes individually?
E.g.:
//runtimes: 'gears,html5,flash,silverlight,browserplus',
runtimes: 'html5',
4 2012-05-24 05:21:57
Topic: Breaks jQuery: function $(id) {return document.getElementById(id);} (4 replies, posted in General discussion)
From the Plupload download, I have taken the plupload/examples/custom.html file and added jQuery and something that uses jQuery. It always blows up when it loads unless I comment the following out:
function $(id) {
return document.getElementById(id);
}
Only added code is:
<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js" type="text/javascript"></script>
AND within the javascript code on the page:
$(document).ready(function () {
$('#hello').click(function () {
alert('hello');
});
});
--
What does this $(id) function do and why does it break my ability to use jQuery on that page? And is there a way for me to go forward using jQuery or must I relearn javascript here?
Thank you.
Posts found: 4
Pages 1
Plupload Forum → Posts by RA
You are not logged in. Please login or register.
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_repository official extension is installed. Copyright © 2003–2009 PunBB.
Generated in 0.118 seconds (89% PHP - 11% DB) with 5 queries