I was going to PM Alain this question but maybe there are other people like me here that may have the same question. Basically is there a special trick to do some database interaction with the built in AJAX inside NWE?
I tried doing something's like in the AJAX tuts inside the engine modules and on the wiki but with a database insert command. The div will update but the database command doesn't execute.
NWE and AJAX
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: NWE and AJAX
can you show the code. It should be fairly straight forward. All the code in the function should run as all the ajax is doing is calling the page again and running that function. Anything inside that function should be called.
Be sure your update code is reachable and that there are no errors.
Be sure your update code is reachable and that there are no errors.
- KyleMassacre
- Posts: 573
- Joined: Wed Nov 27, 2013 12:42 pm
Re: NWE and AJAX
Ugh, again what a knob I am.
I deleted what I currently had because I couldnt get it working at the time so I just edited one of the Ajax demos and created a makeshift table and it worked. I don't know what my issue is these days, maybe I am burnt on on school and stuff too.
I deleted what I currently had because I couldnt get it working at the time so I just edited one of the Ajax demos and created a makeshift table and it worked. I don't know what my issue is these days, maybe I am burnt on on school and stuff too.
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: NWE and AJAX
I definitely know the feeling!