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
This works (which was a RELIEF after spending a whole day trying to get DataTables to work...) but only if I define my '$newCategory' variable from within this Ajax file.
If I try to pass it from jQuery I get an error: Notice: Undefined index: newCategory in C:\wamp\www\bootstrap\load-assets.php
I've tried putting newCategory: "desktop" all over the dynatable function, but I can't get it to pass-through.
Also, though it pulls data when I hard-code in that variable value - I'm only requesting three columns: Id, Model, AssetTag, and I get four columns in the resulting table, three of which are filled with 'undefined'
Edit: I figured out why I had 4 columns - now I have three, with two that are filled by 'undefined'
Any thoughts on how I can resolve those?
The text was updated successfully, but these errors were encountered:
I've got a table:
that is initialized with this DynaTable code:
This pulls some JSON data from a SQL query.
This works (which was a RELIEF after spending a whole day trying to get DataTables to work...) but only if I define my '$newCategory' variable from within this Ajax file.
If I try to pass it from jQuery I get an error:
Notice: Undefined index: newCategory in C:\wamp\www\bootstrap\load-assets.php
I've tried putting newCategory: "desktop" all over the dynatable function, but I can't get it to pass-through.
Also, though it pulls data when I hard-code in that variable value - I'm only requesting three columns: Id, Model, AssetTag, and I get four columns in the resulting table, three of which are filled with 'undefined'
Edit: I figured out why I had 4 columns - now I have three, with two that are filled by 'undefined'
Any thoughts on how I can resolve those?
The text was updated successfully, but these errors were encountered: