You are currently browsing the archives for the Javascript category.

Add, Edit, Delete & Sorting Table Version 2 - TIAMOT

Posted 3 months ago at 8:19 pm. 69 comments

Yes that’s right. It’s finally here version 2 of the script that seems to have gotten exceptionally popular.

Well actually it’s version 2.1 as I noticed an error just a few minutes ago but nevermind. ;) I have improved a lot of stuff in the code. It is now neater than ever and exceptionally easy to use all you need to do is configure a few things and you’re off.

I hope you like it. There are instructions in the zip file and you can read this read me underneath the download at the bottom of this post.

I’d also like to say a huge thanks to everyone who commented on the last version. You all helped me a lot by making me think of new features and easier ways to implement different parts of the script.

I am still providing support for the old version of the script so don’t worry, but I highly recommend you download this version if you were having problems running or using the older version. Again though any problems just leave a comment and I’ll get back to you as soon as I can.

Oh and I have had a few questions about donations so, here we go. I provide all help and scripts for free, however it takes a lot of my time & server costs so any donations would be welcome of any amount although they are not required.

Oh and the poll I had up before asking about the donation cloud. For those who said ‘what’s that?’ a donation cloud is a cloud of links, like a tag cloud that will automatically link to your site after you donate. The more you donate the bigger the link you get. Please vote on my new poll though, I think it would be interesting to see which OS you use the most. ;)

By the way the name does actually stand for something and as it says in the readme is a play on the mythical dragon Tiamat’s name. It stands for: The Integrated AJAX and MYSQL Ordering Table.

The demo is back up and can be accessed as before through the coding examples link at the top of the page or here

You can view the video tutorial for… Sorry the video tutorial is not available at the moment.

Click here to read TIAMOT’s Readme file.

Ajax Add, Edit, Delete & Now Sort

Posted 4 months, 1 week ago at 8:17 pm. 1 comment

Update: Version 2.1 of this script is now available. I highly recommend you download the new version. You can do that here.

Yup that’s right. After a request from Nick in a comment I have added the ability to sort the information in the table. It includes the ability to sort by any column in ascending or descending order. You can stop sorting on certain columns such as the delete column, the code for this can be found on the listmulti.php page. It also solves the problem that was caused when updating or adding to the table via AJAX.

The scripts, including the CSS & arrow pictures for styling, can be downloaded from the bottom of my previous post on this script. If you need any help just ask, either in this post or the latter.

Hope you like it. :D

EDIT: I have left a little bit of code in the ajaxmulti.php that I shouldn’t have. It shouldn’t affect anything but if it doesn’t work then please take out this line of code:

50
$key = str_replace("#038;","",$key);

Again it shouldn’t cause any problems but if there are any please remove that first. If your curious it stops a little problem that WP causes on my demo page.