You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the inputs on my page are submitted via a jQuery "submit on enter key" code block. However the fields I'm using TextExt do not work with the existing code despite the past couple hours spent searching, manipulating, and testing.
Digging through the textext source code and the issue tracker here on GitHub I gather that it might have something to do with the "hidden input" or the trapping of the enter key.
-How are textext input fields normally submitted?
-Via the AJAX plugin Im not using perhaps?
-How does the hidden input field play into all this?
Ive looked at the below issues in trying to solve this problem (just so you know where Im getting the "hidden" stuff from): #39 #67 #115
The text was updated successfully, but these errors were encountered:
So I was messing with my code today and on a lark I changed the POST action to occur on an unconventional key (I used the space bar) and the code worked fine. Soooo its almost certainly has something to do with how the core traps/handles the enter button. Gotta look deeper into that...
So looking deeper, I deleted the reference to the enter key in the core code and added a preventDefault to my jQuery block. It worked great on my two regular inputs but broke the tags functionality. Clearly I'm missing something, I did even more research today and no one else has had this problem so its gotta be something simple and obvious that I'm just too burned out or inexperienced to see.
Most of the inputs on my page are submitted via a jQuery "submit on enter key" code block. However the fields I'm using TextExt do not work with the existing code despite the past couple hours spent searching, manipulating, and testing.
Digging through the textext source code and the issue tracker here on GitHub I gather that it might have something to do with the "hidden input" or the trapping of the enter key.
-How are textext input fields normally submitted?
-Via the AJAX plugin Im not using perhaps?
-How does the hidden input field play into all this?
Ive looked at the below issues in trying to solve this problem (just so you know where Im getting the "hidden" stuff from):
#39
#67
#115
The text was updated successfully, but these errors were encountered: