Find a javascript function

I'm adding a javascript handler for some source code here:

Click Add Files, add a random image, click Start.

There's a lot of Javascript there but I cannot, for the life of me, find out where to add to the source code.

I've tried inspecting with Firebug.

Please show me where the action part of the javascript is, and tell me how you found it.
Who is Participating?
if the start button is not present at page load, you may use on or the old live :

$(".start").click(function() { alert("ok"); });
or (same as) :
$(".start").bind("click", function() { alert("ok"); });
or :
$(".start").live("click", function() { alert("ok"); });
or :
$("body").on("click", ".start", function() { alert("ok"); });
Try adding this code and putting what you ant to do inside the click event.  you should be able to add this to the first script file since it looks like you are including jQuery.

#Target being the id of the element you want to add the event to. You may need to ad an ID to the <span> Add Files...

     $("#target").click(function() {
              alert("Handler for .click() called.");

Open in new window

M256Author Commented:
I think that would work for the Add Files button, but the Start button does not exist on document ready.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.