Maybe I’m missing something, but if I understand right:
- You’re loading your form via AJAX
- This modifies the DOM
I get around this by attaching my jQuery handler after the form is loaded. This can be done from the “original” page (index.php); the logic does not have to be in the child page.
Example:
I’m assuming ’#form’ is your div container (based on what I read above). In the load callback function, I’m going to find any forms within the div and bind to their submission.
$('#form').load('edit_artist_form.php', function() {
$('#form > form').submit(function() {
alert('form submitted!');
});
});
Vim on *nix works great, and I usually just edit directly over ssh. Especially since git on Windows is not good.
I use NetBeans on my Windows PC, but I really can’t say why I stick with it.
It’s pretty slow, the auto-complete/intellisense is so slow that I usually just type everything out. Takes forever to start up. Does auto-sync with FTP , but cannot just edit directly from FTP . Also can’t change file extensions. So making a ”.htaccess” file is a huge PITA .
Overall, do not recommend. I’ll have to check out what you recommended above!
