CodeCanyon

Posts by timridgely

2 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 1 000 and 5 000 dollars
timridgely says

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!');
     });
});
2 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 1 000 and 5 000 dollars
timridgely says

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!

by
by
by
by
by