Jump to content

Missing Buttons (My Image Uploader)


Nik Grey

Recommended Posts

It's fixed,

 

Just about the same code as Brian suggested for the main.php file:

 

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/headjs/0.99/head.min.js"></script>

 

Just the other way around ! Why does One work and the other doesn't ? this is the reason I cant get my head around coding - it's not logical to me.

 

I'm happy now :)

Link to comment
Share on other sites

Basically, if one looks at the 'primer book' of coding, the repeating "Hello World" lesson goes like this:

1. Print "Hello World"

2. Goto 1

 

It really would not work with the statements switched.

 

We know that jQuery is "real" javascript and adds all the extensions and foundation so that other scripts that are written in jQuery will be understood.

 

What we don't know without doubt is, what is actually the headjs/0.99/head.min.js? It it "real" javascript, of does it rely on jQuery? If it relies on jQuery, then having that script run, and when run, load the actual jQuery foundation (as the data-headjs-load parameter), should have crashed something big time.

 

Anyway, glad that's sorted.

 

We are waiting with anticipated breath on the next tweak to your project.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...