![]() |
Reordering text input values
Hi,
I'm currently programming a menu editing script and I'm trying to reorder value of text input on change. What I'm trying to do is when I change the value of a text box it reorders the others. EX Start 1 2 3 4 5 Change 3->1 End 2 3 1 4 5 Here is what I've manage to do, it works only when the number is bigger. Javascript function Code:
function changeOrder(current)Code:
<input type="text" style="width: 20px;" onchange="changeOrder(this);" value="1" name="other_title_order_1">Maxetime |
| All times are GMT +1. The time now is 12:40 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.