I don't think this will be too difficult to do, but I'm working on a project where a user will be uploading a file to my server. I'm not at my machine right now that has code, so I apologize for that, though I'm simply curious, on a simple level what needs to be done.
1) I have a user inputting information into a lightbox, and have the "submit" click captured in javascript. (using a jquery lightbox btw).
2) I have a function that I'm going to have to either call or move over, or whatever is easiest, that handles all the communication with our server/database. This function is in PHP.
What's the best way to do something like this,
Code:
// syntax is probably wrong, but don't worry about that
$(#mytag).click (function(){
// I'm here in my .js
ohhaiPHPFunction();
});
Thanks in advance =)