Girish Venkatachalam writes:
> Actually that is why the website is given from where you can download
> the samples.
>
> #!/usr/bin/perl
>
> use CGI;
>
> $q = new CGI;
>
> print $q->header;
>
> unlink("/var/www/htdocs/dload/jquerysamplesbundle.zip");
>
> chdir('/var/www/htdocs');
> `/usr/local/bin
Actually that is why the website is given from where you can download
the samples.
#!/usr/bin/perl
use CGI;
$q = new CGI;
print $q->header;
unlink("/var/www/htdocs/dload/jquerysamplesbundle.zip");
chdir('/var/www/htdocs');
`/usr/local/bin/zip -r dload/jquerysamplesbundle.zip jquery_tutorials/
On Wed, Jul 10, 2013 at 09:03:09AM +0530, Girish Venkatachalam wrote:
> The CGI is:
>
> GI;
^^^
I guess you've made a copy-paste error. "use CGI;"?
Could you please just post to a blog and then send the link in? That
way, it is much more logical to read than having to look through
disconnected
Here is the js and the CGI.
You can click on any element and invoke a function. They need not be links.
Here I am invoking a click handler on the h2 title.
$(function($) {
$('#dlall').click(function() {
$.get('/cgi-bin/dlall', {},