funny thing....I'm dynamically building forms, well, WAS building forms, but for this project I need some very specific validation and logic handling, so while I was changing my functions to deal with this, I ended up with a "form" that is just a span with form elements inside of it, submit works fine (custom submit too), all my validation fires properly, the only thing that isn't working is setting my events.
When I started I was actually generating a valid html form element, events worked fine when I set them on the fields, however, since I started appending the fields to the span, none of the events I set make it through the creation process..they seem to disappear when I append the form at the end of the function, I had this working once before, and added several things to it, which prolly broke it;)
really just asking if anyone else has run into a similar problem assigning events to form elements
When I started I was actually generating a valid html form element, events worked fine when I set them on the fields, however, since I started appending the fields to the span, none of the events I set make it through the creation process..they seem to disappear when I append the form at the end of the function, I had this working once before, and added several things to it, which prolly broke it;)
really just asking if anyone else has run into a similar problem assigning events to form elements
Comment