search for: maindiv

Displaying 3 results from an estimated 3 matches for "maindiv".

Did you mean: maindid
2006 Jun 24
0
Sortable with sortables? this.destroy not a function O_o
Hi all I am creating sortable list with the builder. Now i want these sortables to be a sortable aswell. So i wrap a div around them and run sortable create on the main-container. I have it like so (simplified): var myLists = new Array(); // start a empty array for push var mainDiv = ''main''; // some already present div to carry all stuff. function newList() { var sortlist = Builder.node(''div'', {id:''parent_''+randomId}, [ Builder.node(''ul'', {id:''childsort_''random...
2006 Mar 28
0
ajax question about refreshing divs
...a login form in a inner div, if the user tries to login and the user/password is invalid, only the inner div needs to be refreshed and show the user the error. If the user/password is ok, the main div needs to be refreshed. How could I do this? this is the view in example <div id="MainDiv"> foo <div id="InnerDiv"> <%= form_tag :action => "login" %> <%= text_field "user", "username", "size" => "20", "class" => "Textos-02" %> <%= text_field &quot...
2006 Apr 21
13
Sorttable.js
I have come across this neat Javascript table sorter at http://kryogenix.org/code/browser/sorttable/ It seems straigh forward to use but i cant get it to work. I have included in the head <script src="javascripts/sorttable.js" type="text/javascript"></script> In the View <table class="sortable" id="anyid"> <thead>