Jump to content

DeadlySin3

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

About DeadlySin3

  • Birthday 02/01/1980

Contact Methods

  • Website URL
    http://www.deadlysinx.net

Profile Information

  • Gender
    Male
  • Location
    Colorado

DeadlySin3's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. onKeyup, that may be what i'm looking for! I'll definitely have to look deeper into that, thanks for the tip that's greatly appreciated! One issue I may run into w/that is a user could type something, which would enable the submit - then delete the entered txt which i believe would still keep the submit button enabled? Either way i'll play around w/that event handler and see what I can find out.
  2. Hey guys, I'm trying to learn a bit of javascript (i'm more of a php guy lol) and just playing around, I created a form that submits info into a database using php & mysql and have been toying around with javascript event handlers to manipulate the form. It's been fun so far! I'm trying to figure out how to enable a submit button ONLY when the forms info has changed. I think this can be done using "onChange". # before onChange - print disabled at end of input tag <input type="submit" name="edit_settings" class="submit" value="Edit This Section" disabled> # after onChange - take away the disabled portion <input type="submit" name="edit_settings" class="submit" value="Edit This Section"> Can this be done this way or am i looking in the wrong direction? Pointers, tips and any other helpful comments/suggestions would be geatly appreciated!
  3. It's been my experience that Object Oriented pagination scripts are just not worth the effort. This may not be true for you... but for me, that's the way it is. I use a Database Abstraction Layer that was written by Matt Zandstra and slightly modified by me and I use some procedural code to paginate my results on several applications. It could be written into a method but i'm lazy and as i've said, I dont believe it's worth the effort. The Database Abstraction Layer I'm talking about can be found on my website: http://www.deadlysin3.net/FREE/database.abstraction/ It looks confusing at first, but when you dive into it, it really simplifies life as a coder. Feel free to check it out and use it if you think it'll suit your needs. Maybe the procedural code I wrote to paginate the results will work for you.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.